Inheritance: ReactiveUI.ReactiveObject
コード例 #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();
 }
コード例 #2
0
 public MainWindow()
 {
     InitializeComponent();
     vm = new MainWindowViewModel();
     DataContext = vm;
 }
コード例 #3
0
 public static Props GetProps( MainWindowViewModel vm )
 {
     return Props.Create( () => new WinTailSupervisor( vm ) );
 }