コード例 #1
0
        /// <summary>
        /// Releases unmanaged and - optionally - managed resources.
        /// </summary>
        /// <param name="disposing"><c>True</c> to release both managed and unmanaged resources; <c>False</c> to release only unmanaged resources.</param>
        protected virtual void Dispose(bool disposing)
        {
            if (!this.disposed)
            {
                if (disposing)
                {
                    if (this.Manager != null)
                    {
                        this.Manager.Dispose();
                        this.Manager = null;
                    }
                }

                this.disposed = true;
            }
        }
コード例 #2
0
ファイル: ProfilerApp.cs プロジェクト: Microsoft/HoloToolkit
        /// <summary>
        /// Releases unmanaged and - optionally - managed resources.
        /// </summary>
        /// <param name="disposing"><c>True</c> to release both managed and unmanaged resources; <c>False</c> to release only unmanaged resources.</param>
        protected virtual void Dispose(bool disposing)
        {
            if (!this.disposed)
            {
                if (disposing)
                {
                    if (this.Manager != null)
                    {
                        this.Manager.Dispose();
                        this.Manager = null;
                    }
                }

                this.disposed = true;
            }
        }
コード例 #3
0
 public ProfilerApp()
 {
     this.Manager  = HoloToolkit.Sharing.ProfilerStreamManager.Create();
     this.disposed = false;
 }
コード例 #4
0
ファイル: ProfilerApp.cs プロジェクト: Microsoft/HoloToolkit
 public ProfilerApp()
 {
     this.Manager = HoloToolkit.Sharing.ProfilerStreamManager.Create();
     this.disposed = false;
 }