public static ElementCO2eCalculator GetCO2eCalculator() { if (_calculator==null) { var ameeClient = new Client(new Uri(AmeeUrl), AmeeUserName, AmeePassword); _calculator = new ElementCO2eCalculator(new MaterialMapper(_mapFilePath, ameeClient)); } return _calculator; }
public AMEEConnector() { _client = new Client(new Uri(AmeeUrl), AmeeUserName, AmeePassword); }