C# (CSharp) Autodesk.Workspaces Пространство имен

Классы

Имя Описание
AnnotationConverter The AnnotationConverter is used to serialize and deserialize AnnotationModels. The SelectedModels property on AnnotationModel is a list of references to ModelBase objects. During serialization we want to refer to these objects by their ids. During deserialization, we use the ReferenceResolver to find the correct ModelBase instances to reference.
ConnectorConverter The ConnectorConverter is used to serialize and deserialize ConnectorModels. The Start and End of a ConnectorModel are references to PortModels, but we want the serialized representation of a Connector to reference these ports by Id. This converter resolves the reference to the correct NodeModel instance by id, and constructs the ConnectorModel.
IdReferenceResolver The IdReferenceResolver class allows us to use the Guid of an object as the reference id during serialization.
NodeModelConverter The NodeModelConverter is used to serialize and deserialize NodeModels. These nodes require a CustomNodeDefinition which can only be supplied by looking it up in the CustomNodeManager.
Utilities
WorkspaceConverter The WorkspaceConverter is used to serialize and deserialize WorkspaceModels. Construction of a WorkspaceModel requires things like an EngineController, a NodeFactory, and a Scheduler. These must be supplied at the time of construction and should not be serialized.