Sage Modeling and Simulation Library

MaterialService..::..GetCompartment Method

Overload List


  Name Description
Public method GetCompartment(Guid, Guid)
Gets the MaterialResourceItem that is acting as the compartment for the specified material type. Creates one anew if there was not one, and this MaterialService has its AutocreateMaterialCompartments parameter set to true. Will return null if there is no compartment with the given material type.
Public method GetCompartment(MaterialType)
Gets the MaterialResourceItem that is acting as the compartment for the specified material type. Creates one anew if there was not one, and this MaterialService has its AutocreateMaterialCompartments parameter set to true. Will return null if there is no compartment with the given material type.
Public method GetCompartment(MaterialType, ICollection)
Gets the MaterialResourceItem that is acting as the compartment for the specified material type. Creates one anew if there was not one, and this MaterialService has its AutocreateMaterialCompartments parameter set to true. Will return null if there is no compartment with the given material type.