Inheritance: CityIndex.JsonClient.Client
Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public AMEEConnector()
 {
     _client = new Client(new Uri(AmeeUrl), AmeeUserName, AmeePassword);
 }