예제 #1
0
 /// <inheritdoc />
 protected override void OnRemoved()
 {
     base.OnRemoved();
     if (current == this)
     {
         current = null;
     }
 }
예제 #2
0
 /// <inheritdoc />
 public override void MakeCurrent()
 {
     base.MakeCurrent();
     current = this;
 }