Class Layer
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the layer.
public class Layer : Object<objecteventcore>, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, INamed, IPostDeserialized
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, INamed, IPostDeserialized
Inherited Members
Object
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Layer(string)
Initializes a new instance of the
public Layer(string strLayerName)
Parameters
strLayerName string
The layer name.
Layer()
Initializes a new instance of the
public Layer()
Properties
FullName
Gets the object full name.
public virtual string FullName { get; }
Property Value
IsVisible
Gets or sets a value indicating whether this instance is visible.
public bool IsVisible { get; set; }
Property Value
Name
Gets or sets the object name.
public virtual string Name { get; set; }
Property Value
NonSymmetricName
Gets the non-symmetric object name.
public virtual string NonSymmetricName { get; }
Property Value
Visibility
public virtual LayerVisibility Visibility { get; set; }
Property Value
VisibleObjects
Gets or sets the visible objects.
public LinkedList<ivisible> VisibleObjects { get; set; }
Property Value
Methods
Add(IVisible)
Add object to visible object container.
public virtual void Add(IVisible visibleOb)
Parameters
visibleOb IVisible
The visible object.
Contain(IVisible)
Whether visible object container contains this value.
public bool Contain(IVisible visibleOb)
Parameters
visibleOb IVisible
The visible object.
Returns
true if contain; otherwise, false.
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
OnDeserialization(object)
Called when [deserialization].
protected override void OnDeserialization(object sender)
Parameters
sender object
The sender.
Remove(IVisible)
Remove object from visible object container.
public virtual bool Remove(IVisible visibleOb)
Parameters
visibleOb IVisible
The visible object.
Returns
true if success; otherwise, false.
SkipModifiedEvent()
layer modified event.
public override bool SkipModifiedEvent()
Returns
SkipUpdateObjectImpl()
Skip the object that updated.
public override bool SkipUpdateObjectImpl()