Click or drag to resize

Catalog Class

Class for implementing a persistent collection of visual factory objects.
Inheritance Hierarchy
SystemObject
  System.CollectionsCollectionBase
    Demo3D.VisualsCatalog

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 10.0.0.6737
Syntax
C#
public class Catalog : CollectionBase, IDisposable

The Catalog type exposes the following members.

Constructors
  NameDescription
Public methodCatalog
Create a new catalog.
Top
Properties
  NameDescription
Public propertyApp

Field Value

Type: 
The application object that this catalog is attached to.
Public propertyAuthor

Field Value

Type: 
The name of the author that last edited in the catalog.
Public propertyDescription

Field Value

Type: 
A description of the catalog.
Public propertyHasChangedOnDisk

Field Value

Type: 
Whether the original catalog file on disk has changed since the catalog was loaded. This may have happened if more than one instance of the application is running.
Public propertyImage

Field Value

Type: 
The icon image to use for the catalog in the catalog explorer.
Public propertyItem
Indexer declaration to get the nth VisualFactory from a catalog.
Public propertyLoadedHeader

Field Value

Type: 
The state of the catalog when it was last loaded.
Public propertyName

Field Value

Type: 
The name of the catalog.
Public propertyNeedsSave

Field Value

Type: 
Whether the catalog has been modified and needs saving to disk since it was last loaded.
Public propertyNotes
Public propertyPathName
The full path of the catalog on disk.
Public propertyReadOnly

Field Value

Type: 
Whether the catalog can be edited or not. This is read from the read-only state of the catalog file on disk initially.
Public propertyVersion

Field Value

Type: 
The version number of the catalog.
Top
Methods
Events
  NameDescription
Public eventFactoryAdded
Called when a visual factory has been added to the catalog.
Public eventFactoryRemoved
Called when a visual factory has been removed from the catalog.
Top
Fields
  NameDescription
Public fieldStatic memberFileExtension
The file extension to be used for catalogs including the '.'/period.
Public fieldStatic memberFileExtensionXml
The file extension to be used for catalogs in source control format including the '.'/period.
Top
See Also