private static void Init() { XmlConfigurator.Configure(); filesLogic = new FilesLogic(); myLogger = new SpieniarkaLogger(); spieniarkaProbkiRepository = new SpieniarkaProbkiRepository(myLogger); }
private static void Init() { var cal = CultureInfo.InvariantCulture.Calendar; Console.WriteLine("Calendar type: {0}", cal); XmlConfigurator.Configure(); myLogger = new SpieniarkaLogger(); spieniarkaCiaglaRepository = new SpieniarkaCiaglaRepository(myLogger); }
public SpieniarkaProbkiRepository(ISpieniarkaLogger logger) { this.logger = logger; dbConnection = new SpieniarkaDBConnection(this.logger); }
public SpieniarkaCiaglaDBConnection(ISpieniarkaLogger myLogger) { this.myLogger = myLogger; }