Class CacheOptions<T>
Inheritance
System.Object
CacheOptions<T>
Assembly: AzureFromTheTrenches.Commanding.Cache.dll
Syntax
public class CacheOptions<T> : CacheOptions where T : class
Type Parameters
Constructors
|
Improve this Doc
View Source
CacheOptions(DateTime, Nullable<Int32>)
Declaration
public CacheOptions(DateTime expiresAtUtc, int? maxConcurrentExecutions = null)
Parameters
Type |
Name |
Description |
DateTime |
expiresAtUtc |
|
System.Nullable<System.Int32> |
maxConcurrentExecutions |
|
|
Improve this Doc
View Source
CacheOptions(Func<DateTime>, Nullable<Int32>)
Declaration
public CacheOptions(Func<DateTime> expiresAtUtcFunc, int? maxConcurrentExecutions = null)
Parameters
Type |
Name |
Description |
Func<DateTime> |
expiresAtUtcFunc |
|
System.Nullable<System.Int32> |
maxConcurrentExecutions |
|
|
Improve this Doc
View Source
CacheOptions(Func<TimeSpan>, Nullable<Int32>)
Declaration
public CacheOptions(Func<TimeSpan> lifeTimeFunc, int? maxConcurrentExecutions = null)
Parameters
Type |
Name |
Description |
Func<TimeSpan> |
lifeTimeFunc |
|
System.Nullable<System.Int32> |
maxConcurrentExecutions |
|
|
Improve this Doc
View Source
CacheOptions(TimeSpan, Nullable<Int32>)
Declaration
public CacheOptions(TimeSpan lifeTime, int? maxConcurrentExecutions = null)
Parameters
Type |
Name |
Description |
TimeSpan |
lifeTime |
|
System.Nullable<System.Int32> |
maxConcurrentExecutions |
|