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

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