Example #1
0
 public PassthroughGroupVM(MainVM vm, TargetGroup group)
     : this(vm)
 {
     Do             = group.Do;
     GameRelease    = group.GameRelease;
     NicknameSuffix = group.NicknameSuffix;
     Passthroughs.AddRange(group.Targets.Select(t => new PassthroughVM(this, t)));
 }
Example #2
0
 public PassthroughGroupVM(MainVM vm)
 {
     Parent = vm;
     AddPassthroughCommand = ReactiveCommand.Create(() =>
     {
         Passthroughs.Add(new PassthroughVM(this));
     });
     DeleteCommand = ReactiveCommand.Create(() =>
     {
         vm.Groups.Remove(this);
     });
 }