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