BridgePortSpec
Desired MikroTik bridge port (/interface/bridge/port).
public sealed record BridgePortSpec : IEquatable<BridgePortSpec>
1. Constructors
1.1. BridgePortSpec(string, string, int, string)
Desired MikroTik bridge port (/interface/bridge/port).
public BridgePortSpec(string Bridge, string Interface, int Pvid, string TaggedVlans)
| Name | Type | Description |
|---|---|---|
Bridge |
string |
|
Interface |
string |
|
Pvid |
int |
|
TaggedVlans |
string |
2. Properties
2.1. Bridge
public string Bridge { get; init; }
2.2. Interface
public string Interface { get; init; }
2.3. Pvid
public int Pvid { get; init; }
2.4. TaggedVlans
public string TaggedVlans { get; init; }
3. Operators
3.1. operator !=(BridgePortSpec, BridgePortSpec)
public static bool operator !=(BridgePortSpec left, BridgePortSpec right)
| Name | Type | Description |
|---|---|---|
left |
BridgePortSpec |
|
right |
BridgePortSpec |
Returns: bool
3.2. operator ==(BridgePortSpec, BridgePortSpec)
public static bool operator ==(BridgePortSpec left, BridgePortSpec right)
| Name | Type | Description |
|---|---|---|
left |
BridgePortSpec |
|
right |
BridgePortSpec |
Returns: bool