コード例 #1
0
ファイル: CopyData.cs プロジェクト: zhk/greenshot
 /// <summary>
 /// Clears up any resources associated with this object.
 /// </summary>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing && _channels != null)
     {
         _channels.Clear();
         _channels = null;
     }
 }
コード例 #2
0
 /// <summary>
 /// Clears up any resources associated with this object.
 /// </summary>
 public void Dispose()
 {
     if (!disposed)
     {
         channels.Clear();
         channels = null;
         disposed = true;
         GC.SuppressFinalize(this);
     }
 }
コード例 #3
0
ファイル: CopyData.cs プロジェクト: eservicepartner/espUrl
 /// <summary>
 /// Constructs a new instance of the CopyData class
 /// </summary>
 public CopyData()
 {
     channels = new CopyDataChannels(this);
 }
コード例 #4
0
ファイル: CopyData.cs プロジェクト: eservicepartner/espUrl
 /// <summary>
 /// Clears up any resources associated with this object.
 /// </summary>
 public void Dispose()
 {
     if (!disposed) {
         channels.Clear();
         channels = null;
         disposed = true;
         GC.SuppressFinalize(this);
     }
 }
コード例 #5
0
ファイル: CopyData.cs プロジェクト: zhk/greenshot
 /// <summary>
 /// Constructs a new instance of the CopyData class
 /// </summary>
 public CopyData()
 {
     _channels = new CopyDataChannels(this);
 }
コード例 #6
0
ファイル: CopyData.cs プロジェクト: logtcn/greenshot
		/// <summary>
		/// Clears up any resources associated with this object.
		/// </summary>
		protected virtual void Dispose(bool disposing) {
			if (disposing && channels != null) {
				channels.Clear();
				channels = null;
			}
		}