public static DatasourceHandler GetInstance(Datasource datasource) { if (_uniqueInstance == null) { _uniqueInstance = new DatasourceHandler(datasource); } _datasource = datasource; _datasource.LoadPeriods(); return(_uniqueInstance); }
public void LoadPeriods() { _datasource.LoadPeriods(); }