//private const string EndPointPath = "TaxiOnline"; public TaxiOnlineSerivceHost(ITaxiOnlineServer server) : base(new TaxiOnlineService(server)) { //Description.Behaviors.Add(new ServiceMetadataBehavior //{ // HttpsGetEnabled = true, // HttpsGetUrl = GetMexUri() //}); //AddServiceEndpoint(typeof(IMetadataExchange), MetadataExchangeBindings.CreateMexHttpBinding(), "mex"); ////GetEndPointAddresses().ToList().ForEach(addr => AddServiceEndpoint(typeof(ITaxiOnlineService), new BasicHttpBinding(BasicHttpSecurityMode.None), addr)); //AddServiceEndpoint(typeof(ITaxiOnlineService), new BasicHttpBinding(BasicHttpSecurityMode.None), GetEndPointAddresses().First()); }
public TaxiOnlineStorage(ITaxiOnlineServer server) { _server = server; _dataProxy = new DataProxy(); }
public TaxiOnlineService(ITaxiOnlineServer server) { _server = server; }