CommandGroup Class
Represents a group of Commands.
Inheritance Hierarchy
SystemObject
TcHmiSrv.CoreCommandGroup
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
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 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. | |
|
|
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. | |
|
|
Indicates whether the current CommandGroup is equal to another CommandGroup. | |
|
|
Determines whether the specified Object is equal to the
current CommandGroup. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
| |
|
|
Gets the Type of the current
instance. | |
|
|
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. | |
|
|
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. |
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 |
|---|---|---|
|
|
Returns an unformatted JSON String that represents the
current CommandGroup. | |
|
|
Returns an unformatted JSON String that represents the
current CommandGroup. | |
|
|
Returns a JSON String that represents the
current CommandGroup. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0