public TextEditorController(IChangeLog changeLog, StreamReader sr,
                             StreamWriter sw, TextEditor textEditor)
 {
     this._changeLog  = changeLog;
     this._sr         = sr;
     this._sw         = sw;
     this._textEditor = textEditor;
 }
Ejemplo n.º 2
0
 public PersonsController(IAsyncDataRepository <Person> personRepository, IAsyncDataRepository <User> userRepository,
                          IAsyncDataRepository <Email> emailRepository, IAsyncDataRepository <Address> addressRepository, IChangeLog log)
 {
     _personRepository  = personRepository;
     _userRepository    = userRepository;
     _emailRepository   = emailRepository;
     _addressRepository = addressRepository;
     _log = log;
 }
Ejemplo n.º 3
0
 public AddressesController(IAsyncDataRepository <Person> personRepository, IAsyncDataRepository <Address> addressRepository, IChangeLog log)
 {
     this._personRepository  = personRepository;
     this._addressRepository = addressRepository;
     this._log = log;
 }
Ejemplo n.º 4
0
 public EmailsController(IAsyncDataRepository <Person> personRepository, IAsyncDataRepository <Email> emailRepository, IChangeLog log)
 {
     this._personRepository = personRepository;
     this._emailRepository  = emailRepository;
     this._log = log;
 }
Ejemplo n.º 5
0
 public UsersController(IAsyncDataRepository <Person> personRepository, IAsyncDataRepository <User> userRepository, IChangeLog log)
 {
     this._personRepository = personRepository;
     this._userRepository   = userRepository;
     this._log = log;
 }
Ejemplo n.º 6
0
 partial void OnConvertAdditionalFields(ChangeLogDao source, IChangeLog dest)
 {
     dest.DomainObject = _domainObjectMapper.Convert(source.DomainObject);
 }
Ejemplo n.º 7
0
 public UserAggregate()
 {
     Changes = Definition.New <IDomainEvent>(this);
 }