protected virtual void InitializeCore(Uri deviceUrl) { foreach (var service in services) { service.Initialize(new Uri(deviceUrl, string.Format("{0}/{1}/", service.Type.ToUrlString(), service.Id))); } if (icons.Count > 0) { var icons_url = new Uri(deviceUrl, "icons/"); for (var i = 0; i < icons.Count; i++) { icons[i].Initialize(new Uri(icons_url, string.Format("{0}/", i))); } icon_server = new IconServer(this, icons_url); } }
public IconServerProxy(IIconServer server) { IconServer = server as IconServer; }