HpsvContext Class | ![]() |
Namespace: HP.SV.DotNetRuleApi
public class HpsvContext
The HpsvContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | Item | Gets or sets the value associated with the specified key. |
![]() | Keys |
Returns all keys stored within the context.
|
Name | Description | |
---|---|---|
![]() | Add |
Adds or Replaces the value for a given key
|
![]() | Clear |
Removes all keys and values from the context
|
![]() | ContainsKey |
Checks if it contains a given key
|
![]() | Remove |
Removes value for a given key
|
![]() | TryGetDeserializedValue<T> |
Tries to re-serialize stored value. This is useful when you need to pass object between multiple service operations or multiple services.
If such object is defined within a shared script then it is internally a distinct .NET type for each service operation.
This method tries to overcome that via binary serialization/deserialization
|
![]() | TryGetValue<T> | Attempts to get the value associated with the specified key. |