示例#1
0
 public SimpleOutputVM(MainVM mvm)
     : base(mvm)
 {
     this.RunCommand = ReactiveCommand.CreateFromTask(
         execute: Run,
         canExecute: this.WhenAny(x => x.MainVM.ModFilePath.InError)
         .Select(x => !x)
         .ObserveOn(RxApp.MainThreadScheduler));
     this.ClearCommand = ReactiveCommand.Create(Output.Clear);
     this.Output.Connect()
     .Buffer(TimeSpan.FromMilliseconds(100))
     .Where(l => l.Count > 0)
     .ObserveOn(RxApp.MainThreadScheduler)
     .FlattenBufferResult()
     .Bind(this.OutputDisplay)
     .Subscribe()
     .DisposeWith(this.CompositeDisposable);
 }
示例#2
0
 public PrintContentVM(MainVM mvm)
     : base(mvm)
 {
 }
 public RecordOverrideOrDuplicationVM(MainVM mvm)
     : base(mvm)
 {
 }
示例#4
0
 public ExampleVM(MainVM mvm)
 {
     this.MainVM = mvm;
 }
 public RecordAccessThroughFormLinksVM(MainVM mvm)
     : base(mvm)
 {
 }
示例#6
0
 public ImportComparisonVM(MainVM mvm)
     : base(mvm)
 {
 }