C# Класс R.Scheduler.Ftp.FtpLibraryInterceptor

Everytime a default instance of IFtpLibrary is created by StructureMap, replace it with an implementation configured during the scheduler startup.
Наследование: TypeInterceptor
Показать файл Открыть проект

Открытые методы

Метод Описание
FtpLibraryInterceptor ( IConfiguration config ) : System
MatchesType ( Type type ) : bool
Process ( object target, IContext context ) : object

Приватные методы

Метод Описание
IsFtpLib ( Type t ) : bool

Описание методов

FtpLibraryInterceptor() публичный Метод

public FtpLibraryInterceptor ( IConfiguration config ) : System
config IConfiguration
Результат System

MatchesType() публичный Метод

public MatchesType ( Type type ) : bool
type System.Type
Результат bool

Process() публичный Метод

public Process ( object target, IContext context ) : object
target object
context IContext
Результат object