internal static INetworkDisplayConverter CreateConvertToDisplayNetwork(INetwork network) { // XXXREMOVE INetworkDisplayConverter tool = null; if (network != null) { if (network is BlueSpider.Blob.Regular.Network.AdjList.SimpleAdjList) { tool = new BlueSpider.Blob.UI.Network.SimpleAdjListToDisplayNetworkConverter(); } else if (network is AdjList) { tool = new BlueSpider.Blob.UI.Network.NetworkBaseConverter(); } } return tool; }
internal static INetworkDisplayConverter CreateUiNetworkConverter(INetwork network) { // XXXREMOVE INetworkDisplayConverter tool = null; if (network != null) { if (network is AdjacentList.Y.AdjList) { tool = new BlueSpider.Blob.UI.Network.NetworkBaseConverter(); } } return tool; }