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