IpRouteSpec
Desired MikroTik IPv4 route (/ip/route).
public sealed record IpRouteSpec : IEquatable<IpRouteSpec>
1. Constructors
1.1. IpRouteSpec(string, string, string)
Desired MikroTik IPv4 route (/ip/route).
public IpRouteSpec(string DstAddress, string Gateway, string Comment)
| Name | Type | Description |
|---|---|---|
DstAddress |
string |
|
Gateway |
string |
|
Comment |
string |
2. Properties
2.1. Comment
public string Comment { get; init; }
2.2. DstAddress
public string DstAddress { get; init; }
2.3. Gateway
public string Gateway { get; init; }
3. Operators
3.1. operator !=(IpRouteSpec, IpRouteSpec)
public static bool operator !=(IpRouteSpec left, IpRouteSpec right)
| Name | Type | Description |
|---|---|---|
left |
IpRouteSpec |
|
right |
IpRouteSpec |
Returns: bool
3.2. operator ==(IpRouteSpec, IpRouteSpec)
public static bool operator ==(IpRouteSpec left, IpRouteSpec right)
| Name | Type | Description |
|---|---|---|
left |
IpRouteSpec |
|
right |
IpRouteSpec |
Returns: bool