Inheritance: ReactiveUI.ReactiveObject
 /// <summary>
 /// Initializes a new instance of the <see cref="WordCounterSupervisor"/> class.
 /// </summary>
 public WinTailSupervisor( MainWindowViewModel vm )
 {
     m_vm = vm;
     validator = Context.ActorOf( FileValidatorActor.GetProps(), "filevalidator" );
     fileEnumerator = Context.ActorOf( FileEnumeratorActor.GetProps(), "file-enumerator" );
     Ready();
 }
示例#2
0
 public MainWindow()
 {
     InitializeComponent();
     vm = new MainWindowViewModel();
     DataContext = vm;
 }
 public static Props GetProps( MainWindowViewModel vm )
 {
     return Props.Create( () => new WinTailSupervisor( vm ) );
 }