Sage Modeling and Simulation Library

WriteLock Members

The WriteLock type exposes the following members.

Constructors


  Name Description
Public method WriteLock
Creates a new instance of the WriteLock class.

Methods


  Name Description
Public method AddChild
Adds a dependent child object to this WriteLock.
Public method ClearChildren
Clears the children from this WriteLock.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RemoveChild
Removes a dependent child object from this WriteLock.
Public method SetWritable
Sets the value indicating whether this instance is currently writable.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties


  Name Description
Public property IsWritable
Gets a value indicating whether this instance is currently writable.
Public property WhereApplied
Gets the location in a hierarchy of write-locked objects where the write-lock was applied.

Events


  Name Description
Public event WritabilityChanged
Fires when the object that this lock is overseeing, changes its writability status.