Exemple #1
0
 public ContactViewModel(Contact model)
     : base(() => StreamFactory.Connect(model.Id))
 {
     Connection.Emit(model);
 }
Exemple #2
0
 public ContactViewModel(Contact model)
 {
     _connection = StreamFactory.Connect(model.Id);
     _connection.Subscribe(m => Model = m);
     _connection.Emit(model);
 }