public UPnPContentDirectoryServiceProxy(CpService serviceStub) : base(serviceStub, "ContentDirectory") { serviceStub.StateVariableChanged += OnStateVariableChanged; serviceStub.SubscribeStateVariables(); }
protected UPnPServiceProxyBase(CpService serviceStub, string serviceName) { _serviceName = serviceName; _serviceStub = serviceStub; _serviceStub.SubscribeStateVariables(); }
public UPnPServerControllerServiceProxy(CpService serviceStub) : base(serviceStub, "ServerController") { serviceStub.StateVariableChanged += OnStateVariableChanged; serviceStub.SubscribeStateVariables(); }