Пример #1
0
 /// <summary>
 /// Gets a string identifying the cached file name.
 /// </summary>
 /// <returns>
 /// The asynchronous <see cref="Task"/> returning the value.
 /// </returns>
 public virtual async Task <string> CreateCachedFileNameAsync()
 {
     return(await Task.FromResult(CachedImageHelper.GetCachedImageFileName(this.FullPath, this.Querystring)));
 }
Пример #2
0
 /// <summary>
 /// Gets a string identifying the cached file name.
 /// </summary>
 /// <returns>
 /// The asynchronous <see cref="Task"/> returning the value.
 /// </returns>
 public virtual Task <string> CreateCachedFileNameAsync() => Task.FromResult(CachedImageHelper.GetCachedImageFileName(this.FullPath, this.Querystring));