Example #1
0
 protected virtual void OnExtensionExtend(object sender, ExtensionListChangedEventArgs args)
 {
     // TODO: перестроить списки слотов и методов...
     InnerFullInheritanceList = null;
     UpdateSlotListAfterExtention(args.ChangeType, args.Extensions);
     OnExtension(ListChangeType.Update, args.Extensions);
 }
Example #2
0
 protected virtual void OnExtension(ListChangeType ct, params ClassDefinition[] extensions)
 {
     EventHandler<ExtensionListChangedEventArgs> h = AfterExtensionListChanged;
     if (h != null) {
         ExtensionListChangedEventArgs args = new ExtensionListChangedEventArgs(ct, extensions);
         h(this, args);
     }
 }