Class CacheInterceptorPolicy
Interceptor policy for cache classes
Inheritance
System.Object
CacheInterceptorPolicy
Implements
StructureMap.Building.Interception.IInterceptorPolicy
StructureMap.Building.IDescribed
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.DataAccess.Repositories
Assembly: ImageVault.Core.dll
Syntax
public class CacheInterceptorPolicy
Constructors
CacheInterceptorPolicy()
Declaration
public CacheInterceptorPolicy()
Fields
Default
Default instance
Declaration
public static CacheInterceptorPolicy Default
Field Value
| Type | Description |
|---|---|
| CacheInterceptorPolicy |
Properties
Description
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
AddMapping(Type, Type)
Adds a mapping between an inteface and a concrete type
Declaration
public void AddMapping(Type interfaceType, Type cacheType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | interfaceType | |
| System.Type | cacheType |
DetermineInterceptors(Type, Instance)
Declaration
public IEnumerable<IInterceptor> DetermineInterceptors(Type pluginType, Instance instance)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | pluginType | |
| StructureMap.Pipeline.Instance | instance |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<StructureMap.Building.Interception.IInterceptor> |
Implements
StructureMap.Building.Interception.IInterceptorPolicy
StructureMap.Building.IDescribed