ExtensionMethods Class

Extension methods for enumeration value conversion.

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static class ExtensionMethods
Inheritance
Object    ExtensionMethods

Methods

AsString 
Contains(String, String) 
Contains(String, StringComparison, String) 
SafeGetElementValue 
SafeLoadXml(Stream) 
SafeLoadXml(Stream, String) 
SafeParseXml(String) 
SafeParseXml(String, String) 
ToGuid 
ToHttpHeaderSafe Convert string to http header safe.
ToImportance Convert a string to an Importance value. Casing will be ignored
ToListT Convert an Array to a Generic List of type T
ToTaskError Convert a string to a TaskType value. Casing will be ignored
ToTaskSchedule Convert a string to a TaskType value. Casing will be ignored
ToTaskState Convert a string to a TaskState value. Casing will be ignored
ToText(Importance) Convert an Importance value to an uppercase string
ToText(TaskError) Convert a TaskType value to an uppercase string
ToText(TaskSchedule) Convert a TaskSchedule value to an uppercase string
ToText(TaskState) Convert a TaskState value to an uppercase string
TrimLength 
TrimLengthUnicode 

See Also