public AspectActivator(IAspectContextFactory aspectContextFactory, IAspectBuilderFactory aspectBuilderFactory, IAspectExceptionWrapper aspectExceptionWrapper) { _aspectContextFactory = aspectContextFactory; _aspectBuilderFactory = aspectBuilderFactory; _aspectExceptionWrapper = aspectExceptionWrapper; }
public AspectCoreInterceptor(IAspectBuilderFactory aspectBuilderFactory, IAspectContextFactory aspectContextFactory, IAspectValidatorBuilder aspectValidatorBuilder) { _aspectBuilderFactory = aspectBuilderFactory ?? throw new ArgumentNullException(nameof(aspectBuilderFactory)); _aspectContextFactory = aspectContextFactory ?? throw new ArgumentNullException(nameof(aspectContextFactory)); _aspectValidator = aspectValidatorBuilder?.Build() ?? throw new ArgumentNullException(nameof(aspectValidatorBuilder)); }
public DynamicProxyInterceptor(IAspectBuilderFactory aspectBuilderFactory, IAspectContextFactory aspectContextFactory, IAspectValidatorBuilder aspectValidatorBuilder, IAspectExceptionWrapper aspectExceptionWrapper) { _aspectBuilderFactory = aspectBuilderFactory ?? throw new ArgumentNullException(nameof(aspectBuilderFactory)); _aspectContextFactory = aspectContextFactory ?? throw new ArgumentNullException(nameof(aspectContextFactory)); _aspectValidator = aspectValidatorBuilder?.Build() ?? throw new ArgumentNullException(nameof(aspectValidatorBuilder)); _aspectExceptionWrapper = aspectExceptionWrapper ?? throw new ArgumentNullException(nameof(aspectExceptionWrapper)); }
public AspectActivator(IAspectContextFactory aspectContextFactory, IAspectBuilderFactory aspectBuilderFactory) { _aspectContextFactory = aspectContextFactory; _aspectBuilderFactory = aspectBuilderFactory; }
public OriginExceptionAspectActivatorFactory(IAspectContextFactory aspectContextFactory, IAspectBuilderFactory aspectBuilderFactory) { this.aspectContextFactory = aspectContextFactory; this.aspectBuilderFactory = aspectBuilderFactory; }
public MainAspectHandler(IAspectContextFactory aspectContextFactory, int cutOff = 4) { this.aspectContextFactory = aspectContextFactory ?? throw new ArgumentNullException(nameof(aspectContextFactory)); this.cutOff = cutOff; }
public AspectActivatorFactory(IAspectContextFactory aspectContextFactory, IAspectBuilderFactory aspectBuilderFactory) { _aspectContextFactory = aspectContextFactory ?? throw new ArgumentNullException(nameof(aspectContextFactory)); _aspectBuilderFactory = aspectBuilderFactory ?? throw new ArgumentNullException(nameof(aspectBuilderFactory)); }
public AspectCoreClientProxyCreator(IProxyTypeGenerator generator, IAspectContextFactory contextFactory, ClientProxyAspectBuilderFactory aspectBuilderFactory) { this.generator = generator; this.contextFactory = contextFactory; this.aspectBuilderFactory = aspectBuilderFactory; }