Struct PortRange
TCP Port range.
Inherited Members
Namespace: OnixS.Fix
Assembly: OnixS.Fix.Engine.dll
Syntax
public struct PortRange
Constructors
PortRange(int)
Creates a PortRange.
Declaration
public PortRange(int port)
Parameters
Type | Name | Description |
---|---|---|
int | port | The port number |
PortRange(int, int)
Creates a PortRange.
Declaration
public PortRange(int first, int last)
Parameters
Type | Name | Description |
---|---|---|
int | first | The first port in the range |
int | last | The last port in the range (inclusive) |
Properties
First
The first port in the range.
Declaration
public readonly int First { get; }
Property Value
Type | Description |
---|---|
int |
Last
The last port in the range (inclusive).
Declaration
public readonly int Last { get; }
Property Value
Type | Description |
---|---|
int |
Methods
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The fully qualified type name. |