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); } }
private static string GetCosmosUserkitFolder() { CosmosPaths.Initialize(); return(CosmosPaths.UserKit); }