Class EvalCacheOptions
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 EvalCacheOptions : CacheOptions
Constructors
| Improve this Doc View SourceEvalCacheOptions(Func<Object, Boolean>, DateTime, Nullable<Int32>)
Declaration
public EvalCacheOptions(Func<object, bool> evaluator, DateTime expiresAtUtc, int? maxConcurrentExecutions = default(int? ))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.Object, System.Boolean> | evaluator | |
| System.DateTime | expiresAtUtc | |
| System.Nullable<System.Int32> | maxConcurrentExecutions |
EvalCacheOptions(Func<Object, Boolean>, Func<DateTime>, Nullable<Int32>)
Declaration
public EvalCacheOptions(Func<object, bool> evaluator, Func<DateTime> expiresAtUtcFunc, int? maxConcurrentExecutions = default(int? ))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.Object, System.Boolean> | evaluator | |
| System.Func<System.DateTime> | expiresAtUtcFunc | |
| System.Nullable<System.Int32> | maxConcurrentExecutions |
EvalCacheOptions(Func<Object, Boolean>, Func<TimeSpan>, Nullable<Int32>)
Declaration
public EvalCacheOptions(Func<object, bool> evaluator, Func<TimeSpan> lifeTimeFunc, int? maxConcurrentExecutions = default(int? ))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.Object, System.Boolean> | evaluator | |
| System.Func<System.TimeSpan> | lifeTimeFunc | |
| System.Nullable<System.Int32> | maxConcurrentExecutions |
EvalCacheOptions(Func<Object, Boolean>, TimeSpan, Nullable<Int32>)
Declaration
public EvalCacheOptions(Func<object, bool> evaluator, TimeSpan lifeTime, int? maxConcurrentExecutions = default(int? ))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.Object, System.Boolean> | evaluator | |
| System.TimeSpan | lifeTime | |
| System.Nullable<System.Int32> | maxConcurrentExecutions |
Properties
| Improve this Doc View SourceIsCachedCommand
Declaration
public Func<object, bool> IsCachedCommand { get; }
Property Value
| Type | Description |
|---|---|
| System.Func<System.Object, System.Boolean> |