Exemplo n.º 1
0
        public static CremaServiceContext Create(string address)
        {
            var serviceHost = new CremaServiceHost();

            return(new CremaServiceContext(serviceHost)
            {
                Host = AddressUtility.GetIPAddress(address),
                Port = AddressUtility.GetPort(address)
            });
        }
Exemplo n.º 2
0
 private CremaServiceContext(CremaServiceHost serviceHost)
     : base(serviceHost)
 {
     this.serviceHost = serviceHost;
 }