Class SymmetricManager
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMObjBase.dll
This class is to represent the symmetric manager.
public sealed class SymmetricManager : SubEntity, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, ISymmetricManager, ITransformable, ISetLinkForSymmetricManager
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, ISymmetricManager, ITransformable, ISetLinkForSymmetricManager
Inherited Members
SubEntity.Initialize(Unit.ConvertFactor),
SubEntity.FixUp(ObjectBase),
SubEntity.Name,
SubEntity.FullName,
SubEntity.NonSymmetricName,
SubEntity.DisplayName,
SubEntity.IsEnabled,
SubEntity.Comment,
Object
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
SymmetricManager(ObjectBase, Document3D)
Initializes a new instance of the
public SymmetricManager(ObjectBase Obj, Document3D docOwner)
Parameters
Obj ObjectBase
The object.
docOwner Document3D
The document.
Fields
dgOnlyUpdateName
delegate for update name
public SymmetricManager.OnlyUpdateName dgOnlyUpdateName
Field Value
SymmetricManager.OnlyUpdateName
Properties
Left
Gets or sets the left object.
public ObjectBase Left { get; }
Property Value
ObjectBase
NonSymmetric
Gets or sets a value indicating whether [non symmetric].
public bool NonSymmetric { get; set; }
Property Value
Original
Gets the original object.
public ObjectBase Original { get; }
Property Value
ObjectBase
Right
Gets or sets the right object.
public ObjectBase Right { get; }
Property Value
ObjectBase
SymType
Gets or sets the type of the symmetric.
public SymmetricType SymType { get; set; }
Property Value
SymmetricType
SymmetricBuilder
Gets the symmetric builder.
public static SymmetricManager.SymmetricFactory<isymmetricbuilder> SymmetricBuilder { get; }
Property Value
SymmetricManager.SymmetricFactory
SymmetricUpdater
Gets the symmetric updater.
public static SymmetricManager.SymmetricFactory<isymmetricupdater> SymmetricUpdater { get; }
Property Value
SymmetricManager.SymmetricFactory
Methods
FixUp(ObjectBase)
Before destroy the old object, perform a work.
public override bool FixUp(ObjectBase ob)
Parameters
ob ObjectBase
The old object.
Returns
true if success; otherwise, false.
GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)
Gets the object information for model navigator [implementation].
protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlEle, bool bHasChild)
Parameters
xmlDom XmlDocument
The XmlDocument for object.
xmlEle XmlElement
The XmlElement for object.
bHasChild bool
if set to true [b has child].
Returns
true if success; otherwise, false.
GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the
public XmlSchema GetSchema()
Returns
An
LinkRequestDestroy(object, LinkEventArgs)
Request for destroy the linked object.
protected override void LinkRequestDestroy(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The
LinkRequestUpdate(object, LinkEventArgs)
Request for update the linked object.
protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The
ReadXml(XmlReader)
Generates an object from its XML representation.
public void ReadXml(XmlReader reader)
Parameters
reader XmlReader
The
SetDataAfterAddManager(Document)
Sets the data after add manager.
public void SetDataAfterAddManager(Document doc)
Parameters
doc Document
SetSymType(SymmetricType)
Set symmetric type.
public void SetSymType(SymmetricType type)
Parameters
type SymmetricType
The symmetric type.
SetSymmetricDictionary(string)
Sets the symmetric dictionary.
public static bool SetSymmetricDictionary(string fileDir)
Parameters
fileDir string
The file directory.
Returns
true if success; otherwise, false.
SkipUpdateObjectImpl()
Skip the object that updated.
public override bool SkipUpdateObjectImpl()
Returns
UpdateAssembly(Document, ObjectBase)
Updates the assembly.
public void UpdateAssembly(Document doc, ObjectBase target)
Parameters
doc Document
The document.
target ObjectBase
The target object.
UpdateSymmetric()
Updates the symmetric objects.
public void UpdateSymmetric()
UpdateSymmetric(ObjectBase)
Updates the symmetric objects.
The target.public void UpdateSymmetric(ObjectBase objTarget)
Parameters
objTarget ObjectBase
WriteXml(XmlWriter)
Converts an object into its XML representation.
public void WriteXml(XmlWriter writer)
Parameters
writer XmlWriter
The