예제 #1
0
 public static bool IsDiscarded(this VirtualSwitchMapping mapping)
 {
     return("---Discard---" == mapping.TargetVirtualSwitch.Label);
 }
예제 #2
0
 public static bool IsConnected(this VirtualSwitchMapping mapping)
 {
     return(!string.IsNullOrEmpty(mapping.TargetVirtualSwitch.Label));
 }