Пример #1
0
        internal IEnumerable <HandlerPlugin> GetPlugins()
        {
            var ctx = new HandlerRegistrationContext();

            this.RegisterHandlers(ctx);

            return(ctx.Plugins);
        }
Пример #2
0
 /// <summary>
 /// Register the handlers
 /// </summary>
 /// <param name="context"></param>
 public abstract void RegisterHandlers(HandlerRegistrationContext context);