示例#1
0
        public void Setup()
        {
            this.repository = new Mock <IRepository <TextCommand> >();
            this.mapper     = new Mock <IMapper <TextCommand, TextCommandModel> >();

            this.viewModel = new TextCommandsTabViewModel(this.repository.Object, this.mapper.Object);
        }
示例#2
0
 public TabsViewModel(ShoutoutTabViewModel shoutouts,
                      ResponseTabViewModel responses,
                      ConfigurationTabViewModel configuration,
                      TextCommandsTabViewModel textCommands)
 {
     this.Shoutouts     = shoutouts;
     this.Responses     = responses;
     this.Configuration = configuration;
     this.TextCommands  = textCommands;
 }