Class ParameterGroup
Represents a Parameter group.
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class ParameterGroup : MergableSubGroups<ParameterGroup>
  Remarks
Parameters may be grouped because they perform a similar function or measure a similar entity. Using a file system analogy ParameterGroups are like folders and may be stored inside an ApplicationGroup
Constructors
ParameterGroup(String)
Initialises a new instance of the ParameterGroup class.
Declaration
public ParameterGroup(string identifier)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | identifier | The identifier.  | 
      
ParameterGroup(String, String)
Initialises a new instance of the ParameterGroup class.
Declaration
public ParameterGroup(string identifier, string description)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | identifier | The identifier.  | 
      
| System.String | description | The description.  | 
      
ParameterGroup(String, String, IEnumerable<String>)
Initialises a new instance of the ParameterGroup class.
Declaration
public ParameterGroup(string identifier, string description, IEnumerable<string> subGroupIdentifiers)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | identifier | The identifier.  | 
      
| System.String | description | The description.  | 
      
| System.Collections.Generic.IEnumerable<System.String> | subGroupIdentifiers | The sub groups.  | 
      
Properties
Description
Gets the parameter group description.
Declaration
public string Description { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Identifier
Gets the group unique identifier.
Declaration
public string Identifier { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
SubGroups
Gets or sets the internal sub groups.
Declaration
public override ReadOnlyCollection<ParameterGroup> SubGroups { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection<ParameterGroup> | The internal sub groups.  | 
      
Overrides
Methods
AddSubGroup(ParameterGroup)
Adds the sub group. (note: may used in context where groupId has already been added).
Declaration
public void AddSubGroup(ParameterGroup group)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ParameterGroup | group | The group.  | 
      
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | A System.String that represents the current System.Object.  |