Sage Modeling and Simulation Library

MaterialCatalog Methods

The MaterialCatalog type exposes the following members.

Methods


  Name Description
Public method Add
Adds the specified MaterialType to this MaterialCatalog.
Public method Clear
Clears this instance - removes all contained MaterialTypes.
Public method Contains(MaterialType)
Determines whether this MaterialCatalog contains the specified MaterialType. Different instances of Material Types are considered equal if they have the same name and guid.
Public method Contains(String)
Determines whether this MaterialCatalog contains a MaterialType with the specified name.
Public method Contains(Guid)
Determines whether this MaterialCatalog contains a MaterialType with the specified Guid.
Public method DeserializeFrom
Reconstitutes this object from the specified XmlSerializationContext.
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 Remove(String)
Removes the material type with the specified name.
Public method Remove(Guid)
Removes the material type with the specified Guid.
Public method SerializeTo
Stores this object to the specified XmlSerializationContext.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)