Class Group
Last update: 16.07.2025Namespace: VM.Managed.DAFUL
Assembly: VMDFBase.dll
This class is to represent the group.
public class Group : SubEntity, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IVisible, IArgument, IMultiChangable
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, IVisible, IArgument, IMultiChangable
Inherited Members
SubEntity.Initialize(Unit.ConvertFactor),
SubEntity.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool),
SubEntity.FixUp(ObjectBase),
SubEntity.WriteTemplateImpl(XmlWriter),
SubEntity.ReadTemplateImpl(XmlReader),
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
Group()
Initializes a new instance of the
public Group()
Group(string)
Initializes a new instance of the
public Group(string strName)
Parameters
strName string
Name of the STR.
Properties
ArgumentType
Gets the type of the argument
public ArgumentTypes ArgumentType { get; }
Property Value
ArgumentTypes
IsEnabled
Gets or sets a value indicating whether this
public override bool IsEnabled { get; set; }
Property Value
IsVisible
Gets or sets a value indicating whether object is visible.
public bool IsVisible { get; set; }
Property Value
Objects
Gets or sets the objects.
public ObjectBase[] Objects { get; set; }
Property Value
ObjectBase[]
ReferenceType
Gets the type of the array for argument.
public string ReferenceType { get; }
Property Value
Methods
ActionNames()
Actions the names.
public static string[] ActionNames()
Returns
string[]
AddAction(GroupActionBase)
Adds the action.
public static void AddAction(GroupActionBase action)
Parameters
action GroupActionBase
The action.
AddObject(ObjectBase)
Adds the object.
public void AddObject(ObjectBase ob)
Parameters
ob ObjectBase
The ob.
ExcuteAction(GroupActionBase, bool)
Excutes the action.
public void ExcuteAction(GroupActionBase action, bool bOnOff)
Parameters
action GroupActionBase
The action.
bOnOff bool
if set to true [b on off].
ExcuteAction(string, bool)
Excutes the action.
public void ExcuteAction(string actionName, bool bOnOff)
Parameters
actionName string
Name of the action.
bOnOff bool
if set to true [b on off].
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.
GetLayerImpl()
Gets the layer implementation.
protected virtual Layer GetLayerImpl()
Returns
Layer
Exceptions
Document of Group object is null.
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 [has child].
Returns
true if success; otherwise, false.
GetSolidBody()
Gets solid body.
public IConnectable[] GetSolidBody()
Returns
OnDeserialization(object)
Called when [deserialization].
protected override void OnDeserialization(object sender)
Parameters
sender object
The sender.
OnLinkReserved(ILink, object, EventArgs)
Called after reserve member
protected override void OnLinkReserved(ILink reserved, object objNotifier, EventArgs args)
Parameters
reserved ILink
objNotifier object
args EventArgs
RemoveObject(ObjectBase)
Removes the object.
public bool RemoveObject(ObjectBase ob)
Parameters
ob ObjectBase
The ob.
Returns
SetLayerImpl(Layer)
Implemented function to set layer
protected virtual void SetLayerImpl(Layer layer)
Parameters
layer Layer
Layer Object
StateAction(string)
States the action.
public bool StateAction(string actionName)
Parameters
actionName string
Name of the action.