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); }
public PrintContentVM(MainVM mvm) : base(mvm) { }
public RecordOverrideOrDuplicationVM(MainVM mvm) : base(mvm) { }
public ExampleVM(MainVM mvm) { this.MainVM = mvm; }
public RecordAccessThroughFormLinksVM(MainVM mvm) : base(mvm) { }
public ImportComparisonVM(MainVM mvm) : base(mvm) { }