コード例 #1
0
 public Command create_from(DiscreteCommand command)
 {
     var result= new CommandImpl(
             new NameConventionFilter(command),
                 new TransactionDecorator(command));
     return result;
 }
コード例 #2
0
        public NameConventionFilter(DiscreteCommand internalCommand)
        {
            var type = internalCommand.GetType();

            command_full_name = type.FullName;
            command_name      = type.Name;
        }
コード例 #3
0
        public Command create_from(DiscreteCommand command)
        {
            var result = new CommandImpl(
                new NameConventionFilter(command),
                new TransactionDecorator(command));

            return(result);
        }
コード例 #4
0
 public TransactionDecorator(DiscreteCommand internalCommand)
 {
     internal_command = internalCommand;
 }
コード例 #5
0
 public NameConventionFilter(DiscreteCommand internalCommand)
 {
     var type = internalCommand.GetType();
     command_full_name= type.FullName;
     command_name = type.Name;
 }
コード例 #6
0
ファイル: Command.cs プロジェクト: SkightTeam/eLiteWeb
 public CommandImpl(CommandFilter filter, DiscreteCommand discreteCommand)
 {
     discrete_command = discreteCommand;
     this.filter      = filter;
 }
コード例 #7
0
ファイル: Command.cs プロジェクト: xxm6318/eLiteWeb
 public CommandImpl(DiscreteCommand discreteCommand, CommandFilter filter)
 {
     discrete_command = discreteCommand;
     this.filter = filter;
 }
コード例 #8
0
 public TransactionDecorator(DiscreteCommand internalCommand)
 {
     internal_command = internalCommand;
 }