Click or drag to resize

State Methods

The State type exposes the following members.

Methods
  NameDescription
Public methodAddTasksDueDate
Adds a new task due date.
Public methodAddTransition
Adds a new transition.
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
Public methodDeleteTransition
Deletes the specified transition.
Public methodGetGuid
Gets the Guid.
(Inherited from ModelingObject.)
Public methodGetListItem
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.)
Public methodGetName
Gets the name.
(Inherited from ModelingObject.)
Public methodGetParentParentType
Returns the first parent of a given type in the modeling tree. Returns null if not found.
(Inherited from ModelingObject.)
Public methodGetStateDisplayName
Gets the state's display name.
Public methodGetStateGuid
Gets the state's GUID.
Public methodGetStateName
Gets the state's name.
Public methodGetTransitionById
Gets a transition by its id.
Public methodIsMaxParticipationReached
Determines whether the maximum participation has been reached. If the maximum participation has been reached, the state instance of an item can be closed even if some tasks have not been completed yet.
Public methodIsMinParticipationReached
Determines whether the minimum participation has been reached. The state instance of an item cannot be closed as long as the minimum participation has not been reached, this means that enough tasks must have been accomplished before the workflow can proceed to the next step.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also