The ModelManager type exposes the following members.

Constructors

  NameDescription
Public methodModelManager
Initializes a new instance of the ModelManager class

Methods

  NameDescription
Public methodAddModelTemplate
Add a Model template to the available list
Public methodCloseModelContainer
Called to Close a ModelContainer
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 methodFindModelTemplate
Find a model template by the file extension used.
Public methodGetDefaultTemplate
Gets the default configured template
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetUniqueFileName
Based on the base file name, returns a unique filename if it is able to within a certain number of attempts
Protected methodLoadModelFromFile
Protected method to load the model from the file
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewDefaultBlankModelContainer
Creates a new default blank modelcontainer
Protected methodNewModelContainer
Protected method to create a new model container from a template
Protected methodOnClosed
Call after closing a modelcontainer
Protected methodOnClosing
Call just before closing a model container
Protected methodOnOpened
Call this after opening a modelcontainer
Protected methodOnOpening
Call this before opening a model container
Public methodOpenModelContainer
Open a ModelContainer by the filename
Public methodRemoveModelTemplate
Remove a specific model template from the available list
Public methodSaveModelContainer
Allow saving of a particular document
Protected methodSaveModelToFile
protected class method to save a model to a file
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyFirstModelContainer
Public propertyTemplates

Events

  NameDescription
Public eventClosed
Fired when a ModelContainer has been closed. The ModelContainer property of the ModelEventArgs will be set. AbortAction has no effect.
Public eventClosing
Fired before closing a ModelContainer. The ModelContainer property of the ModelEventArgs will be set. AbortAction will prevent the ModelContaienr from being closed.
Public eventOpened
Fired after a ModelContainer has been opened. The ModelContainer property will be set on the ModelEventArgs. AbortAction has no effect
Public eventOpening
Fired when a ModelContainer is about to be opened. The FileName is set on the ModelEventArgs. AbortAction if set to true will prevent the ModelContainer from being opened.

See Also