示例#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);