Class CacheOptions<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AzureFromTheTrenches.Commanding.Cache
Assembly: AzureFromTheTrenches.Commanding.Cache.dll
Syntax
public class CacheOptions<T> : CacheOptions where T : class
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
| Improve this Doc View SourceCacheOptions(DateTime, Nullable<Int32>)
Declaration
public CacheOptions(DateTime expiresAtUtc, int? maxConcurrentExecutions = default(int? ))
Parameters
| Type | Name | Description |
|---|---|---|
| System.DateTime | expiresAtUtc | |
| System.Nullable<System.Int32> | maxConcurrentExecutions |
CacheOptions(Func<DateTime>, Nullable<Int32>)
Declaration
public CacheOptions(Func<DateTime> expiresAtUtcFunc, int? maxConcurrentExecutions = default(int? ))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.DateTime> | expiresAtUtcFunc | |
| System.Nullable<System.Int32> | maxConcurrentExecutions |
CacheOptions(Func<TimeSpan>, Nullable<Int32>)
Declaration
public CacheOptions(Func<TimeSpan> lifeTimeFunc, int? maxConcurrentExecutions = default(int? ))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.TimeSpan> | lifeTimeFunc | |
| System.Nullable<System.Int32> | maxConcurrentExecutions |
CacheOptions(TimeSpan, Nullable<Int32>)
Declaration
public CacheOptions(TimeSpan lifeTime, int? maxConcurrentExecutions = default(int? ))
Parameters
| Type | Name | Description |
|---|---|---|
| System.TimeSpan | lifeTime | |
| System.Nullable<System.Int32> | maxConcurrentExecutions |