Click or drag to resize

ModelHistoryManager Class

Contains the history of a Model, composed of various of its previous versions.
Inheritance Hierarchy
SystemObject
  Packflow.ModelingModelHistoryManager

Namespace:  Packflow.Modeling
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public class ModelHistoryManager

The ModelHistoryManager type exposes the following members.

Constructors
  NameDescription
Public methodModelHistoryManager
Initializes a new instance of the ModelHistoryManager class.
Top
Properties
  NameDescription
Public propertyNextModels
Gets or sets the next models. This list is filled with the saved models when navigating the history.
Public propertyPreviousModels
Gets or sets the previous models.
Top
Methods
  NameDescription
Public methodAddHistoryItem
Adds a model version in the history.
Public methodGetNext
Loads the next model, and puts the current model in the previous models.
Public methodGetNextChange
Gets the content (XML) of the next model.
Public methodGetPrevious
Loads the previous model, and puts the current model in the next models.
Public methodGetPreviousChange
Gets the content (XML) of the previous model.
Public methodHasNext
Determines whether there is any next model.
Public methodHasPrevious
Determines whether there is any previous model.
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