C# Class R.Scheduler.Core.PersistanceStoreInterceptor

Everytime a default instance of IPersistanceStore is created by StructureMap, replace it with an implementation configured during the scheduler startup. Used mainly for injecting the IPersistanceStore implementation into the StructureMap registries of CustomJobTypes projects to ensure a single persistence store for monitoring and auditing different types of jobs.
Inheritance: TypeInterceptor
Exibir arquivo Open project: R-Suite/R.Scheduler

Public Methods

Method Description
MatchesType ( Type type ) : bool
PersistanceStoreInterceptor ( IConfiguration config ) : System
Process ( object target, IContext context ) : object

Method Details

MatchesType() public method

public MatchesType ( Type type ) : bool
type System.Type
return bool

PersistanceStoreInterceptor() public method

public PersistanceStoreInterceptor ( IConfiguration config ) : System
config IConfiguration
return System

Process() public method

public Process ( object target, IContext context ) : object
target object
context IContext
return object