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: 4.7.2.0 (4.7.2.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
Converts a context to a JSON string
Public methodStatic memberConvertContextToRecordSetXmlString
Converts a context to a XML ADO RecordSet string
Public methodStatic memberGetContextFromJson
Gets a context from a JSON string
Public methodStatic memberGetContextFromRecordSet(String)
Gets a context from a XML ADO RecordSet string
Public methodStatic memberGetContextFromRecordSet(XmlDocument)
Gets a context from a XML ADO RecordSet document
Public methodStatic memberGetEmptyDataSetContext
Creates an empty context in ADO.NET DataSet format
Public methodStatic memberGetEmptyRecordSetContext
Creates an empty context in ADO RecordSet format
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 memberIsJson
Checks if an input string contains a JSON structure
Public methodStatic memberSetParameterValue
Set the parameter value in the context parameter
Top
See Also