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

CommandGroup Class 1:

CommandGroup.

Initializes a new instance of the CommandGroup class.

CommandGroup Class 2:

CommandGroup(String)

Initializes a new instance of the CommandGroup class with the specified domain.

CommandGroup Class 3:

CommandGroup(IEnumerable.Command.)

Initializes a new instance of the CommandGroup class with the specified Commands.

CommandGroup Class 4:

CommandGroup(IList.Command.)

Initializes a new instance of the CommandGroup class with the specified Commands.

CommandGroup Class 5:

CommandGroup(String, IEnumerable.Command.)

Initializes a new instance of the CommandGroup class with the specified domain and Commands.

CommandGroup Class 6:

CommandGroup(String, IList.Command.)

Initializes a new instance of the CommandGroup class with the specified domain and Commands.

Properties

 

Name

Description

CommandGroup Class 7:

Capacity

Contains the total number of Commands the internal data structure can hold without resizing.

CommandGroup Class 8:

Count

Gets the number of Commands contained in the CommandGroup.

CommandGroup Class 9:

Domain

Contains the domain of the CommandGroup.

CommandGroup Class 10:

IsEmpty

Gets a value that indicates whether the CommandGroup is empty.

CommandGroup Class 11:

IsReadOnly

Gets a value that indicates whether the CommandGroup is read-only.

CommandGroup Class 12:

IsSet

Gets a value that indicates whether the CommandGroup is set.

CommandGroup Class 13:

IsSynchronized

CommandGroup Class 14:

Item

Gets or sets the Command at the specified index.

CommandGroup Class 15:

Result

Contains the result of the CommandGroup.

CommandGroup Class 16:

SyncRoot

Methods

 

Name

Description

CommandGroup Class 17:

Add

Add the specified Command to the CommandGroup.

CommandGroup Class 18:

AddRange

Adds the specified Commands to the end of the CommandGroup.

CommandGroup Class 19:

Clear

Removes all Commands from the CommandGroup.

CommandGroup Class 20:

Contains

Determines whether the CommandGroup contains the specified Command.

CommandGroup Class 21:

CopyTo

Copies the Commands of the CommandGroup to the specified Array, starting at the specified index.

CommandGroup Class 22:

DeepCopy

Creates a new object that is a deep copy of the current CommandGroup.

CommandGroup Class 23:

Equals(Object)

Determines whether the specified Object is equal to the current CommandGroup. (Overrides Object.Equals(Object).)

CommandGroup Class 24:

Equals(CommandGroup)

Indicates whether the current CommandGroup is equal to another CommandGroup.

CommandGroup Class 25:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

CommandGroup Class 26:

GetHashCode

(Overrides Object.GetHashCode..)

CommandGroup Class 27:

GetType

Gets the Type of the current instance. (Inherited from Object.)

CommandGroup Class 28:

IndexOf

Determines the index of the specified Command in the CommandGroup.

CommandGroup Class 29:

Insert

Inserts a Command to the CommandGroup at the specified index.

CommandGroup Class 30:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

CommandGroup Class 31:

Remove

Removes the first occurrence of the specified Command from the CommandGroup.

CommandGroup Class 32:

RemoveAt

Removes the Command at the specified index.

CommandGroup Class 33:

RemoveRange

Removes a range of Commands from the CommandGroup.

CommandGroup Class 34:

ShallowCopy

Creates a new CommandGroup that is a shallow copy of the current CommandGroup.

CommandGroup Class 35:

ToString

Returns a string that represents the current object. (Inherited from Object.)

Operators

 

Name

Description

CommandGroup Class 36:

CommandGroup Class 37:

Equality

Determines whether two instances of the CommandGroup class are equal.

CommandGroup Class 38:

CommandGroup Class 39:

Inequality

Determines whether two instances of the CommandGroup class are not equal.

Extension Methods

 

Name

Description

CommandGroup Class 40:

ToJson.

Overloaded.

Returns an unformatted JSON String that represents the current CommandGroup. (Defined by CommandGroupExtensions.)

CommandGroup Class 41:

ToJson(Boolean)

Overloaded.

Returns an unformatted JSON String that represents the current CommandGroup. (Defined by CommandGroupExtensions.)

CommandGroup Class 42:

ToJson(Boolean, Boolean)

Overloaded.

Returns a JSON String that represents the current CommandGroup. (Defined by CommandGroupExtensions.)

Reference

TcHmiSrv.Core Namespace