C# Class R.Scheduler.Ftp.FtpLibraryInterceptor

Everytime a default instance of IFtpLibrary is created by StructureMap, replace it with an implementation configured during the scheduler startup.
Inheritance: TypeInterceptor
Afficher le fichier Open project: R-Suite/R.Scheduler

Méthodes publiques

Méthode Description
FtpLibraryInterceptor ( IConfiguration config ) : System
MatchesType ( Type type ) : bool
Process ( object target, IContext context ) : object

Private Methods

Méthode Description
IsFtpLib ( Type t ) : bool

Method Details

FtpLibraryInterceptor() public méthode

public FtpLibraryInterceptor ( IConfiguration config ) : System
config IConfiguration
Résultat System

MatchesType() public méthode

public MatchesType ( Type type ) : bool
type System.Type
Résultat bool

Process() public méthode

public Process ( object target, IContext context ) : object
target object
context IContext
Résultat object