Example #1
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 void IDisposable.Dispose()
 {
     if (this.IsTop)
     {
         currentItem = null;
     }
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SkipApplyGlobalAlertSubjectFormat"/> class.
 /// </summary>
 public SkipApplyGlobalSubjectTemplate()
 {
     if (SkipApplyGlobalSubjectTemplate.IsActive)
     {
         this.IsTop = false;
     }
     else
     {
         this.IsTop  = true;
         currentItem = this;
     }
 }