예제 #1
0
 ClosingPatch(
     PrivatePatchDelegate dlg)
 {
     if (null != this.TheClosingPatch)
     {
         throw new Exception("Module {0} already has a closing patch", this);
     }
     this.TheClosingPatch = dlg;
 }
예제 #2
0
 PrivatePatch(
     PrivatePatchDelegate dlg)
 {
     this.PrivatePatches.Add(dlg);
 }