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()); } }