Class NetGate.State
Inheritance
System.Object
NetGate.State
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 State
Fields
DefaultAction
Declaration
[Config]
public GateAction DefaultAction
Field Value
| Type | Description |
|---|---|
| GateAction |
Gate
Declaration
public readonly NetGate Gate
Field Value
| Type | Description |
|---|---|
| NetGate |
Groups
Declaration
public readonly OrderedRegistry<Group> Groups
Field Value
| Type | Description |
|---|---|
| OrderedRegistry<Group> |
Rules
Declaration
public readonly OrderedRegistry<Rule> Rules
Field Value
| Type | Description |
|---|---|
| OrderedRegistry<Rule> |
VarDefs
Declaration
public readonly Registry<VarDef> VarDefs
Field Value
| Type | Description |
|---|---|
| Registry<VarDef> |
Methods
FindGroupForAddress(String)
Returns the first matching group for address, or null
Declaration
public Group FindGroupForAddress(string address)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | address |
Returns
| Type | Description |
|---|---|
| Group |
FindNetSiteStateForAddress(String, ref Group)
Returns existing NetSiteState object for specified address, first checking group membership or null
Declaration
public NetSiteState FindNetSiteStateForAddress(string address, ref Group group)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | address | |
| Group | group |
Returns
| Type | Description |
|---|---|
| NetSiteState |