public static CremaServiceContext Create(string address) { var serviceHost = new CremaServiceHost(); return(new CremaServiceContext(serviceHost) { Host = AddressUtility.GetIPAddress(address), Port = AddressUtility.GetPort(address) }); }
private CremaServiceContext(CremaServiceHost serviceHost) : base(serviceHost) { this.serviceHost = serviceHost; }