public ApplicationServices(IDomainServices domainServices,
                            IPurchaseReportFactory reportFactory)
 {
     this.domainServices   = domainServices;
     this.loggedInUsername = string.Empty;
     this.reportFactory    = reportFactory;
 }
Example #2
0
 public User(string username, IAccount account,
             IPurchaseReportFactory purchaseReportFactory)
 {
     Username     = username;
     this.account = account;
     this.purchaseReportFactory = purchaseReportFactory;
 }
Example #3
0
 public DomainServices(IUserRepository userRepository, IProductRepository productRepository,
                       IPurchaseReportFactory reportFactory)
 {
     this.userRepository    = userRepository;
     this.productRepository = productRepository;
     this.reportFactory     = reportFactory;
 }
Example #4
0
 public User(string username, IAccount account, IPurchaseReportFactory reportFactory)
 {
     this.Username      = username;
     this.account       = account;
     this.reportFactory = reportFactory;
 }