Exemplo n.º 1
0
        public static FluentActivator WithCommand(this IBlockbuster blockbuster, AbstractCommand command)
        {
            FluentActivator fluentActivator = new FluentActivator();

            return(fluentActivator.WithCommand(blockbuster, command));
        }
Exemplo n.º 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));
        }
Exemplo n.º 3
0
 public void CleanUp(IBlockbuster blockbuster, string directory)
 {
     blockbuster.CleanUp(directory, Commands);
 }
Exemplo n.º 4
0
 public FluentActivator WithCommand(IBlockbuster blockbuster, AbstractCommand command)
 {
     Blockbuster = blockbuster;
     return(WithCommand(command));
 }
Exemplo n.º 5
0
 public FluentActivator WithCommand <T>(IBlockbuster blockbuster, Func <T> commandFunc) where T : AbstractCommand, new()
 {
     return(WithCommand(blockbuster, commandFunc()));
 }
Exemplo n.º 6
0
 public FluentActivator WithCommand <T>(IBlockbuster blockbuster) where T : AbstractCommand, new()
 {
     return(WithCommand(blockbuster, new T()));
 }