示例#1
0
 /// <summary>
 /// Check whether a given setting exists.
 /// </summary>
 /// <param name="name">The name of the record</param>
 /// <returns>True if the setting exists, false otherwise</returns>
 public async Task <bool> Exists(string name)
 {
     if (!LargeSettings.Contains(name))
     {
         return(helper.Exists(name, Strategy));
     }
     return(await FileHelper.FileExistsAsync(name, StorageStrategy));
 }