コード例 #1
0
 public DefaultUserRepository(
     IPaymentsRepository paymentsRepo,
     int count,
     ISoftUniRepository softUniRepo)
 {
     this.paymentsRepo = paymentsRepo;
     this.softUniRepo  = softUniRepo;
     this.count        = count;
 }
コード例 #2
0
 public UserService(INeshtoSiInterface userRepo,
                    ISoftUniRepository softuniRepo,
                    DateTime myDateTime,
                    string dbPath)
 {
     this.userRepo    = userRepo;
     this.softuniRepo = softuniRepo;
     Console.WriteLine($"IN SERVICE DB PATH: {dbPath}");
     Console.WriteLine(myDateTime);
 }
コード例 #3
0
ファイル: UserService.cs プロジェクト: tanyta78/CSharpOOPAdv
 public UserService(ISomeInterface userRepo,
                    ISoftUniRepository softUniRepo,
                    DateTime myDateTime,
                    string dbPath)
 {
     this.userRepo    = userRepo;
     this.softUniRepo = softUniRepo;
     Console.WriteLine(dbPath);
     Console.WriteLine(myDateTime);
 }