public void Setup() { Mock <ILogAgent> mockLog = new Mock <ILogAgent>(); m_LogAgent = mockLog.Object; Mock <ICancelNetwork> mockCancel = new Mock <ICancelNetwork>(); m_CancelNetwork = mockCancel.Object; }
public ExceptionDecoratorTransformMany(ITransformMany <TIn, TOut> decorated, ILogAgent logAgent, ICancelNetwork cancel) { m_Decorated = decorated; m_LogAgent = logAgent; m_Cancel = cancel; }
public ExceptionDecoratorTransformationBatched(ITransformationBatched <TIn, TOut> decoratedTransformation, ILogAgent logAgent, ICancelNetwork cancel) { m_DecoratedTransformation = decoratedTransformation; m_LogAgent = logAgent; m_Cancel = cancel; }
public ExceptionDecoratorTarget(ITarget <TIn> decoratedTarget, ILogAgent logAgent, ICancelNetwork cancel) { m_DecoratedTarget = decoratedTarget; m_LogAgent = logAgent; m_Cancel = cancel; }
public ExceptionDecoratorSource(ISource <TOut> decoratedSource, ILogAgent logAgent, ICancelNetwork cancel) { m_DecoratedSource = decoratedSource; m_LogAgent = logAgent; m_Cancel = cancel; }
public static ITargetBatchedFunctor <TIn> WithExceptionHandler <TIn>(this ITargetBatched <TIn> decoratedTarget, ILogAgent log, ICancelNetwork cancel) { return(new ExceptionDecoratorTargetBatched <TIn>(decoratedTarget, log, cancel)); }
public static ITransformManyFunctor <TIn, TOut> WithExceptionHandler <TIn, TOut>(this ITransformMany <TIn, TOut> decoratedTransformation, ILogAgent log, ICancelNetwork cancel) { return(new ExceptionDecoratorTransformMany <TIn, TOut>(decoratedTransformation, log, cancel)); }
public static ISourceFunctor <TOut> WithExceptionHandler <TOut>(this ISource <TOut> decoratedSource, ILogAgent logAgent, ICancelNetwork cancel) { return(new ExceptionDecoratorSource <TOut>(decoratedSource, logAgent, cancel)); }