CommandGroup Class
Represents a group of Commands.
Inheritance Hierarchy
System.Object
TcHmiSrv.Core.CommandGroup
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public class CommandGroup : ICopyable<CommandGroup>,
IDeepCopyable<CommandGroup>, IShallowCopyable<CommandGroup>, IEquatable<CommandGroup>,
ICollection, IEnumerable, IExchangeable<CommandGroup>, ICommandGroupMapper,
IList<Command>, ICollection<Command>, IEnumerable<Command>
The CommandGroup type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the CommandGroup class. | |
|
Initializes a new instance of the CommandGroup class with the specified domain. | |
|
Initializes a new instance of the CommandGroup class with the specified Commands. | |
|
Initializes a new instance of the CommandGroup class with the specified Commands. | |
|
Initializes a new instance of the CommandGroup class with the specified domain and Commands. | |
|
Initializes a new instance of the CommandGroup class with the specified domain and Commands. |
Properties
|
Name |
Description |
---|---|---|
|
Contains the total number of Commands the internal data structure can hold without resizing. | |
|
Gets the number of Commands contained in the CommandGroup. | |
|
Contains the domain of the CommandGroup. | |
|
Gets a value that indicates whether the CommandGroup is empty. | |
|
Gets a value that indicates whether the CommandGroup is read-only. | |
|
Gets a value that indicates whether the CommandGroup is set. | |
| ||
|
Gets or sets the Command at the specified index. | |
|
Contains the result of the CommandGroup. | |
|
Methods
|
Name |
Description |
---|---|---|
|
Add the specified Command to the CommandGroup. | |
|
Adds the specified Commands to the end of the CommandGroup. | |
|
Removes all Commands from the CommandGroup. | |
|
Determines whether the CommandGroup contains the specified Command. | |
|
Copies the Commands of the CommandGroup to the specified Array, starting at the specified index. | |
|
Creates a new object that is a deep copy of the current CommandGroup. | |
|
Determines whether the specified Object is equal to the current CommandGroup. (Overrides Object.Equals(Object).) | |
|
Indicates whether the current CommandGroup is equal to another CommandGroup. | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
(Overrides Object.GetHashCode..) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Determines the index of the specified Command in the CommandGroup. | |
|
Inserts a Command to the CommandGroup at the specified index. | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Removes the first occurrence of the specified Command from the CommandGroup. | |
|
Removes the Command at the specified index. | |
|
Removes a range of Commands from the CommandGroup. | |
|
Creates a new CommandGroup that is a shallow copy of the current CommandGroup. | |
|
Returns a string that represents the current object. (Inherited from Object.) |
Operators
|
Name |
Description |
---|---|---|
|
Determines whether two instances of the CommandGroup class are equal. | |
|
Determines whether two instances of the CommandGroup class are not equal. |
Extension Methods
|
Name |
Description |
---|---|---|
|
Overloaded. Returns an unformatted JSON String that represents the current CommandGroup. (Defined by CommandGroupExtensions.) | |
|
Overloaded. Returns an unformatted JSON String that represents the current CommandGroup. (Defined by CommandGroupExtensions.) | |
|
Overloaded. Returns a JSON String that represents the current CommandGroup. (Defined by CommandGroupExtensions.) |