/// <summary> /// Initializes a new instance of the ExternalHostedServiceWrapper class. /// </summary> /// <param name="descriptor">Descriptor for the service to wrap.</param> public ExternalHostedServiceWrapper(ServiceDescriptor descriptor) { this.ServiceUri = descriptor.CreateServiceUri(); }
/// <summary> /// Initializes a new instance of the ExternalHostedServiceWrapper class. /// </summary> /// <param name="descriptor">Descriptor for the service to wrap.</param> public ExternalHostedServiceWrapper(ServiceDescriptor descriptor) { this.ServiceUri = descriptor.CreateServiceUri(); }
/// <summary> /// Initializes a new instance of the DefaultServiceWrapper class. /// </summary> /// <param name="descriptor">Descriptor for the service to wrap.</param> public DefaultServiceWrapper(ServiceDescriptor descriptor) { this.ServiceUri = descriptor.CreateServiceUri(); this.dataServiceHost = new DataServiceHost(descriptor.ServiceType, new[] { this.ServiceUri }); }
/// <summary> /// Initializes a new instance of the WCFServiceWrapper class. /// </summary> /// <param name="descriptor">Descriptor for the service to wrap.</param> public WCFServiceWrapper(ServiceDescriptor descriptor) { this.ServiceUri = descriptor.CreateServiceUri(); this.webServiceHost = new WebServiceHost(descriptor.ServiceType, new[] { this.ServiceUri }); }
/// <summary> /// Initializes a new instance of the DefaultServiceWrapper class. /// </summary> /// <param name="descriptor">Descriptor for the service to wrap.</param> public DefaultServiceWrapper(ServiceDescriptor descriptor) { this.ServiceUri = descriptor.CreateServiceUri(); this.dataServiceHost = new DataServiceHost(descriptor.ServiceType, new[] { this.ServiceUri }); }