示例#1
0
        public static FluentActivator WithCommand(this IBlockbuster blockbuster, AbstractCommand command)
        {
            FluentActivator fluentActivator = new FluentActivator();

            return(fluentActivator.WithCommand(blockbuster, command));
        }
示例#2
0
        public static FluentActivator WithCommand <T>(this IBlockbuster blockbuster, Func <T> commandFunc) where T : AbstractCommand, new()
        {
            FluentActivator fluentActivator = new FluentActivator();

            return(fluentActivator.WithCommand(blockbuster, commandFunc));
        }