CCT.NUI.Core.OpenNI.OpenNIDataSourceFactory.GetDepthPointerDataSource C# (CSharp) Метод

GetDepthPointerDataSource() приватный Метод

private GetDepthPointerDataSource ( ) : IDepthPointerDataSource
Результат IDepthPointerDataSource
        private IDepthPointerDataSource GetDepthPointerDataSource()
        {
            lock (this)
            {
                if (this.depthPointerDataSource == null)
                {
                    var adapter = new DepthGeneratorAdapter(this.GetDepthGenerator());
                    this.runner.Add(adapter);
                    this.depthPointerDataSource = new DepthPointerDataSource(adapter);
                }
            }
            return this.depthPointerDataSource;
        }