Inheritance: ReactiveUI.ReactiveObject
Esempio n. 1
0
 /// <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();
 }
Esempio n. 2
0
 public MainWindow()
 {
     InitializeComponent();
     vm = new MainWindowViewModel();
     DataContext = vm;
 }
Esempio n. 3
0
 public static Props GetProps( MainWindowViewModel vm )
 {
     return Props.Create( () => new WinTailSupervisor( vm ) );
 }