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