public Form1() { InitializeComponent(); InstanceContext ic = new InstanceContext(this); _client = new OsterFabrikServiceClient(ic); _client.RegisterForBemalteEierNotifications(); _client.RegisterForLogistikNotifications(); _client.RegisterForNesterNotifications(); _client.RegisterForSchokoHasenNotifications(); _client.RegisterForUnbemalteEierNotifications(); }
public Form1() { InitializeComponent(); InstanceContext ic = new InstanceContext(this); _client = new OsterFabrikServiceClient(ic); _client.RegisterForBemalteEierNotifications(); _client.RegisterForLogistikNotifications(); _client.RegisterForNesterNotifications(); _client.RegisterForSchokoHasenNotifications(); _client.RegisterForUnbemalteEierNotifications(); }
public Tier(string id) { this._id = id; InstanceContext ic = new InstanceContext(this); _client = new OsterFabrikServiceClient(ic); WSDualHttpBinding binding = _client.Endpoint.Binding as WSDualHttpBinding; if (binding != null) { binding.ClientBaseAddress = new Uri(binding.ClientBaseAddress + "/" + _id); } }