Click or drag to resize

HpsvContext Class

Represents each simulation context. Available via HpsvContextsList
Inheritance Hierarchy

Namespace:  HP.SV.DotNetRuleApi
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version:
public class HpsvContext

The HpsvContext type exposes the following members.

Public propertyItem
Gets or sets the value associated with the specified key.
Public propertyKeys
Returns all keys stored within the context.
Public methodAdd
Adds or Replaces the value for a given key
Public methodClear
Removes all keys and values from the context
Public methodContainsKey
Checks if it contains a given key
Public methodRemove
Removes value for a given key
Public methodTryGetDeserializedValueT
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
Public methodTryGetValueT
Attempts to get the value associated with the specified key.
See Also