public static Props GetProps(StatsWindowViewModel vm)
 {
     return Props.Create(() => new StatObserver(vm));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StatObserver"/> class.
 /// </summary>
 public StatObserver(StatsWindowViewModel vm)
 {
     m_Vm = vm;
     Receive<PublishMetrics>(msg => Handle(msg));
 }
 public StatsWindow()
 {
     InitializeComponent();
     DataContext = new StatsWindowViewModel();
 }