Click or drag to resize

ContextHelper Class

This class contains helper methods to build WorkflowGen contexts
Inheritance Hierarchy
SystemObject
  WorkflowGen.My.DataContextHelper

Namespace:  WorkflowGen.My.Data
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.0.0.0 (8.0.0.0)
Syntax
public class ContextHelper

The ContextHelper type exposes the following members.

Constructors
  NameDescription
Public methodContextHelper
Initializes a new instance of the ContextHelper class
Top
Methods
  NameDescription
Public methodStatic memberConvertContextToJsonString Obsolete.
Converts a context to a JSON string
Public methodStatic memberConvertXmlContextToDataSet Obsolete.
Convert a Xml Workflow Context to a DataSet
Public methodStatic memberGetContextFromJson
Gets a context from a JSON string
Public methodStatic memberGetContextFromXml
Gets a context from an XML ADO.NET Dataset string
Public methodStatic memberGetEmptyContext
Creates an empty context
Public methodStatic memberGetEmptyDataSetContext Obsolete.
Creates an empty context
Public methodStatic memberGetJsonFromContext
Gets a JSON string from a context
Public methodStatic memberGetParameterValue(ContextParameters, String, Boolean)
Get the bool parameter value from the context
Public methodStatic memberGetParameterValue(ContextParameters, String, DateTime)
Get the DateTime parameter value from the context
Public methodStatic memberGetParameterValue(ContextParameters, String, Double)
Get the double parameter value from the context
Public methodStatic memberGetParameterValue(ContextParameters, String, Int32)
Get the int parameter value from the context
Public methodStatic memberGetParameterValue(ContextParameters, String, String)
Get the string parameter value from the context
Public methodStatic memberGetParameterValue(ContextParameters, String, ContextFileReference)
Get the ContextFileReference parameter value from the context
Public methodStatic memberGetXmlFromContext(DataSet)
Gets a XML string from a context
Public methodStatic memberGetXmlFromContext(DataSet, Boolean)
Gets a XML string from a context
Public methodStatic memberIsJson
Checks if an input string contains a JSON structure
Public methodStatic memberSetParameterValue
Set the parameter value in the context parameter
Public methodStatic memberUpdateContextParameters(ContextParameters, ContextParameters)
Updates context parameters with other context parameters
Public methodStatic memberUpdateContextParameters(ContextParameters, ContextParameters, Boolean)
Updates context parameters with other context parameters
Top
See Also