OpenHome.Net.ControlPoint.Proxies.CpProxyUpnpOrgContentDirectory1.SetPropertyContainerUpdateIDsChanged C# (CSharp) Метод

SetPropertyContainerUpdateIDsChanged() публичный Метод

Set a delegate to be run when the ContainerUpdateIDs state variable changes.
Callbacks may be run in different threads but callbacks for a CpProxyUpnpOrgContentDirectory1 instance will not overlap.
public SetPropertyContainerUpdateIDsChanged ( System aContainerUpdateIDsChanged ) : void
aContainerUpdateIDsChanged System The delegate to run when the state variable changes
Результат void
        public void SetPropertyContainerUpdateIDsChanged(System.Action aContainerUpdateIDsChanged)
        {
            lock (iPropertyLock)
            {
                iContainerUpdateIDsChanged = aContainerUpdateIDsChanged;
            }
        }

Usage Example

Пример #1
0
 public CpContentDirectory_OhNet_Raumfeld(OpenHome.Net.ControlPoint.CpDevice _device)
 {
     device = _device;
         contentDirectory = new OpenHome.Net.ControlPoint.Proxies.CpProxyUpnpOrgContentDirectory1(_device);
         contentDirectory.SetPropertyContainerUpdateIDsChanged(ContainerUpdateIDsSink);
         contentDirectory.Subscribe();
 }