Example #1
0
 private static void AddListener(List <string> builder, INetworkListener listener)
 {
     if (listener is AggregateNetworkListener)
     {
         AddAggregateListener(builder, (AggregateNetworkListener)listener);
     }
     else
     {
         builder.Add(listener.ToString());
     }
 }
 private static void AddListener(List<string> builder, INetworkListener listener)
 {
     if (listener is AggregateNetworkListener)
     {
         AddAggregateListener(builder, (AggregateNetworkListener)listener);
     }
     else
     {
         builder.Add(listener.ToString());
     }
 }