コード例 #1
0
 /// <summary>
 /// Gets the options for the specified value, which will be a sliding cache
 /// options instance.
 /// </summary>
 /// <returns>
 /// The cache options to use when storing the specified value.
 /// </returns>
 /// <seealso cref="CacheOptions.Sliding"/>
 public override CacheOptions GetOptions()
 {
     return(CacheOptions.Sliding(this.ItemPriority, this.TimeSpan));
 }