Exemple #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));
        }
 protected abstract void Register(ICustomActionCatalog catalog);