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

CommandGroup Class 1:

CommandGroup

Initializes a new instance of the CommandGroup class.

CommandGroup Class 2:

CommandGroup(IEnumerableCommand)

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

CommandGroup Class 3:

CommandGroup(IListCommand)

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

CommandGroup Class 4:

CommandGroup(String)

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

CommandGroup Class 5:

CommandGroup(String, IEnumerableCommand)

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

CommandGroup Class 6:

CommandGroup(String, IListCommand)

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(CommandGroup)

Indicates whether the current CommandGroup is equal to another CommandGroup.

CommandGroup Class 24:

Equals(Object)

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

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 ObjectGetHashCode)

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(CommandGroup, CommandGroup)

Determines whether two instances of the CommandGroup class are equal.

CommandGroup Class 38:

CommandGroup Class 39:

Inequality(CommandGroup, CommandGroup)

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

Extension Methods

 

Name

Description

CommandGroup Class 40:

ToJson

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

CommandGroup Class 41:

ToJson

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

CommandGroup Class 42:

ToJson

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

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG