コード例 #1
0
 private static void Init()
 {
     XmlConfigurator.Configure();
     filesLogic = new FilesLogic();
     myLogger   = new SpieniarkaLogger();
     spieniarkaProbkiRepository = new SpieniarkaProbkiRepository(myLogger);
 }
コード例 #2
0
        private static void Init()
        {
            var cal = CultureInfo.InvariantCulture.Calendar;

            Console.WriteLine("Calendar type: {0}", cal);
            XmlConfigurator.Configure();
            myLogger = new SpieniarkaLogger();
            spieniarkaCiaglaRepository = new SpieniarkaCiaglaRepository(myLogger);
        }
コード例 #3
0
 public SpieniarkaProbkiRepository(ISpieniarkaLogger logger)
 {
     this.logger  = logger;
     dbConnection = new SpieniarkaDBConnection(this.logger);
 }
コード例 #4
0
 public SpieniarkaCiaglaDBConnection(ISpieniarkaLogger myLogger)
 {
     this.myLogger = myLogger;
 }