コード例 #1
0
 public UPnPContentDirectoryServiceProxy(CpService serviceStub) : base(serviceStub, "ContentDirectory")
 {
   serviceStub.StateVariableChanged += OnStateVariableChanged;
   serviceStub.SubscribeStateVariables();
 }
コード例 #2
0
 protected UPnPServiceProxyBase(CpService serviceStub, string serviceName)
 {
   _serviceName = serviceName;
   _serviceStub = serviceStub;
   _serviceStub.SubscribeStateVariables();
 }
コード例 #3
0
 public UPnPServerControllerServiceProxy(CpService serviceStub) : base(serviceStub, "ServerController")
 {
   serviceStub.StateVariableChanged += OnStateVariableChanged;
   serviceStub.SubscribeStateVariables();
 }