Show / Hide Table of Contents

Class EvalCacheOptions

Inheritance
System.Object
CacheOptions
EvalCacheOptions
Inherited Members
CacheOptions.CommandType
CacheOptions.LifeTime
CacheOptions.ExpiresAtUtc
CacheOptions.MaxConcurrentExecutions
Namespace: AzureFromTheTrenches.Commanding.Cache
Assembly: AzureFromTheTrenches.Commanding.Cache.dll
Syntax
public class EvalCacheOptions : CacheOptions

Constructors

| Improve this Doc View Source

EvalCacheOptions(Func<Object, Boolean>, DateTime, Nullable<Int32>)

Declaration
public EvalCacheOptions(Func<object, bool> evaluator, DateTime expiresAtUtc, int? maxConcurrentExecutions = null)
Parameters
Type Name Description
Func<System.Object, System.Boolean> evaluator
DateTime expiresAtUtc
System.Nullable<System.Int32> maxConcurrentExecutions
| Improve this Doc View Source

EvalCacheOptions(Func<Object, Boolean>, Func<DateTime>, Nullable<Int32>)

Declaration
public EvalCacheOptions(Func<object, bool> evaluator, Func<DateTime> expiresAtUtcFunc, int? maxConcurrentExecutions = null)
Parameters
Type Name Description
Func<System.Object, System.Boolean> evaluator
Func<DateTime> expiresAtUtcFunc
System.Nullable<System.Int32> maxConcurrentExecutions
| Improve this Doc View Source

EvalCacheOptions(Func<Object, Boolean>, Func<TimeSpan>, Nullable<Int32>)

Declaration
public EvalCacheOptions(Func<object, bool> evaluator, Func<TimeSpan> lifeTimeFunc, int? maxConcurrentExecutions = null)
Parameters
Type Name Description
Func<System.Object, System.Boolean> evaluator
Func<TimeSpan> lifeTimeFunc
System.Nullable<System.Int32> maxConcurrentExecutions
| Improve this Doc View Source

EvalCacheOptions(Func<Object, Boolean>, TimeSpan, Nullable<Int32>)

Declaration
public EvalCacheOptions(Func<object, bool> evaluator, TimeSpan lifeTime, int? maxConcurrentExecutions = null)
Parameters
Type Name Description
Func<System.Object, System.Boolean> evaluator
TimeSpan lifeTime
System.Nullable<System.Int32> maxConcurrentExecutions

Properties

| Improve this Doc View Source

IsCachedCommand

Declaration
public Func<object, bool> IsCachedCommand { get; }
Property Value
Type Description
Func<System.Object, System.Boolean>
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall