Class Group
Inheritance
System.Object
Group
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.IO.Net.Gate
Assembly: NFX.dll
Syntax
public class Group : INamed, IOrdered
Constructors
Group(IConfigSectionNode)
Declaration
public Group(IConfigSectionNode node)
Parameters
| Type | Name | Description |
|---|---|---|
| IConfigSectionNode | node |
Group(String, Int32)
Declaration
public Group(string name, int order)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| System.Int32 | order |
Properties
Addresses
Addresses that are part of the group
Declaration
public OrderedRegistry<Group.Address> Addresses { get; }
Property Value
| Type | Description |
|---|---|
| OrderedRegistry<Group.Address> |
Key
Returns group key for lookup in State.NetState object
Declaration
public string Key { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Order
Declaration
public int Order { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
Match(String)
Tries to find an address in group and returns it or null
Declaration
public Group.Address Match(string address)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | address |
Returns
| Type | Description |
|---|---|
| Group.Address |