Пример #1
0
        public DbusServiceInstanceProviderPassthrough(System.ServiceModel.Dispatcher.IInstanceProvider instanceProvider)
        {
            if (instanceProvider == null)
            {
                throw new ArgumentNullException("instanceProvider");
            }

            this.instanceProvider = instanceProvider;
        }
Пример #2
0
        public DbusServiceHost(System.ServiceModel.Dispatcher.IInstanceProvider instanceProvider,
                               Type serviceType, params Uri[] baseAddresses)
            : base(serviceType, baseAddresses)
        {
            if (instanceProvider == null)
            {
                throw new ArgumentNullException("instanceProvider");
            }

            foreach (System.ServiceModel.Description.ContractDescription cd in this.ImplementedContracts.Values)
            {
                cd.Behaviors.Add(new DbusServiceInstanceProviderPassthrough(instanceProvider));
            }
        }
Пример #3
0
        public DbusServiceInstanceProviderPassthrough(System.ServiceModel.Dispatcher.IInstanceProvider instanceProvider)
        {
            if (instanceProvider == null)
            {
                throw new ArgumentNullException("instanceProvider");
            }

            this.instanceProvider = instanceProvider;
        }
Пример #4
0
 public DbusServiceHostFactory(System.ServiceModel.Dispatcher.IInstanceProvider instanceProvider)
 {
     this.instanceProvider = instanceProvider;
 }
Пример #5
0
 public DbusServiceHostFactory(System.ServiceModel.Dispatcher.IInstanceProvider instanceProvider)
 {
     this.instanceProvider = instanceProvider;
 }