Esempio n. 1
0
 private bool EnsureCosmosPathsInitialization()
 {
     try {
         CosmosPaths.Initialize();
         return(true);
     } catch (Exception e) {
         StringBuilder builder = new StringBuilder();
         builder.Append("Error while initializing Cosmos paths");
         for (Exception scannedException = e; null != scannedException; scannedException = scannedException.InnerException)
         {
             builder.Append(" | " + scannedException.Message);
         }
         LogError(builder.ToString());
         return(false);
     }
 }
Esempio n. 2
0
 private static string GetCosmosUserkitFolder()
 {
     CosmosPaths.Initialize();
     return(CosmosPaths.UserKit);
 }