Click or drag to resize

ModelStateWriter Methods

The ModelStateWriter type exposes the following members.

Methods
  NameDescription
Public methodClose
Close state, and also underlying state stream.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleOptionalParameter
Helper method for handling optional parameters: If the parameter is optional, and the current object is optional (there is something in the list of optional objects), this parameter value is added to the list of parameters in the optional object.

If the parameter is not optional, but the current object is optional, all optional objects and parameters are added to the state.

Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpen(Stream)
Create writer that writes to a stream
Public methodOpen(String)
Create writer that writes to a file
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteDataValue
Write parameter array values to current object
Public methodWriteEndObject
Closes current object
Protected methodWriteOptionalObjects
Write all optional objects to state stream.
Public methodWriteStartObject(String)
Writes a start object tag with the specified name
Public methodWriteStartObject(String, Boolean)
Adds an optional start object tag with the specified name to the list of optional objects
Public methodWriteValue(String, Boolean, Boolean)
Write parameter value to current object
Public methodWriteValue(String, IEnumerableDateTime, Boolean)
Write parameter array values to current object
Public methodWriteValue(String, IEnumerableDouble, Boolean)
Write parameter array values to current object
Public methodWriteValue(String, IEnumerableInt32, Boolean)
Write parameter array values to current object
Public methodWriteValue(String, IEnumerableString, Boolean)
Write parameter array values to current object
Public methodWriteValue(String, DateTime, Boolean)
Write parameter value to current object
Public methodWriteValue(String, Double, Boolean)
Write parameter value to current object
Public methodWriteValue(String, Int32, Boolean)
Write parameter value to current object
Public methodWriteValue(String, Object, Boolean)
Write parameter value to object
Public methodWriteValue(String, String, Boolean)
Write parameter value to current object
Public methodWriteValue(String, TimeSpan, Boolean)
Write parameter value to current object
Top
Extension Methods
  NameDescription
Public Extension MethodAddReach (Defined by NetworkStateWriter.)
Top
See Also