예제 #1
0
        protected override void Register(ICustomActionCatalog catalog)
        {
            if (catalog is null)
            {
                throw new ArgumentNullException(nameof(catalog));
            }

            catalog.Register(Namespace, name: @"start", (context, reader) => new StartAction(context, reader));
            catalog.Register(Namespace, name: @"destroy", (context, reader) => new DestroyAction(context, reader));
        }
예제 #2
0
 protected abstract void Register(ICustomActionCatalog catalog);