public EventTargetExtractor( IMethodDisassembler methodDisassembler, IInstructionHelper instructionHelper, IExpressionDecompiler <Action> expressionDecompiler, IEventAccessorExtractor eventAccessorExtractor) { ArgumentChecker.NotNull(methodDisassembler, nameof(methodDisassembler)); ArgumentChecker.NotNull(instructionHelper, nameof(instructionHelper)); ArgumentChecker.NotNull(expressionDecompiler, nameof(expressionDecompiler)); ArgumentChecker.NotNull(eventAccessorExtractor, nameof(eventAccessorExtractor)); _methodDisassembler = methodDisassembler; _instructionHelper = instructionHelper; _expressionDecompiler = expressionDecompiler; _eventAccessorExtractor = eventAccessorExtractor; }
public EventTargetExtractor( IMethodDisassembler methodDisassembler, IInstructionHelper instructionHelper, IExpressionDecompiler<Action> expressionDecompiler, IEventAccessorExtractor eventAccessorExtractor) { ArgumentChecker.NotNull(methodDisassembler, nameof(methodDisassembler)); ArgumentChecker.NotNull(instructionHelper, nameof(instructionHelper)); ArgumentChecker.NotNull(expressionDecompiler, nameof(expressionDecompiler)); ArgumentChecker.NotNull(eventAccessorExtractor, nameof(eventAccessorExtractor)); _methodDisassembler = methodDisassembler; _instructionHelper = instructionHelper; _expressionDecompiler = expressionDecompiler; _eventAccessorExtractor = eventAccessorExtractor; }
/// <summary> /// Initializes a new instance of the <see cref="ExpressionDecompiler{TExpression}" /> class. /// </summary> /// <param name="instructionsCompiler">The instructions compiler.</param> /// <param name="instructionHelper">The instruction helper.</param> /// <param name="parameterDeducer">The parameter deducer.</param> /// <param name="argumentGenerator">The argument generator.</param> /// <param name="typeResolver">The type resolver.</param> internal ExpressionDecompiler( IInstructionsCompiler instructionsCompiler, IInstructionHelper instructionHelper, IParameterDeducer parameterDeducer, IArgumentGenerator argumentGenerator, ITypeResolver typeResolver) { ArgumentChecker.NotNull(instructionsCompiler, () => instructionsCompiler); ArgumentChecker.NotNull(instructionHelper, () => instructionHelper); ArgumentChecker.NotNull(parameterDeducer, () => parameterDeducer); ArgumentChecker.NotNull(argumentGenerator, () => argumentGenerator); ArgumentChecker.NotNull(typeResolver, () => typeResolver); _instructionsCompiler = instructionsCompiler; _instructionHelper = instructionHelper; _parameterDeducer = parameterDeducer; _argumentGenerator = argumentGenerator; _typeResolver = typeResolver; }
public EventAccessorExtractor( IMethodDisassembler methodDisassembler, IInstructionHelper instructionHelper, IMethodResolver methodResolver, IInstructionsCompiler instructionsCompiler, IParameterDeducer parameterDeducer) { ArgumentChecker.NotNull(methodDisassembler, nameof(methodDisassembler)); ArgumentChecker.NotNull(instructionHelper, nameof(instructionHelper)); ArgumentChecker.NotNull(methodResolver, nameof(methodResolver)); ArgumentChecker.NotNull(instructionsCompiler, nameof(instructionsCompiler)); ArgumentChecker.NotNull(parameterDeducer, nameof(parameterDeducer)); _methodDisassembler = methodDisassembler; _instructionHelper = instructionHelper; _methodResolver = methodResolver; _instructionsCompiler = instructionsCompiler; _parameterDeducer = parameterDeducer; }
/// <summary> /// Initializes a new instance of the <see cref="ExpressionDecompiler"/> class. /// </summary> /// <param name="instructionsCompiler">The instructions compiler.</param> /// <param name="instructionHelper">The instruction helper.</param> /// <param name="parameterDeducer">The parameter deducer.</param> /// <param name="argumentGenerator">The argument generator.</param> /// <param name="typeResolver">The type resolver.</param> internal ExpressionDecompiler( IInstructionsCompiler instructionsCompiler, IInstructionHelper instructionHelper, IParameterDeducer parameterDeducer, IArgumentGenerator argumentGenerator, ITypeResolver typeResolver) { ArgumentChecker.NotNull(instructionsCompiler, () => instructionsCompiler); ArgumentChecker.NotNull(instructionHelper, () => instructionHelper); ArgumentChecker.NotNull(parameterDeducer, () => parameterDeducer); ArgumentChecker.NotNull(argumentGenerator, () => argumentGenerator); ArgumentChecker.NotNull(typeResolver, () => typeResolver); _instructionsCompiler = instructionsCompiler; _instructionHelper = instructionHelper; _parameterDeducer = parameterDeducer; _argumentGenerator = argumentGenerator; _typeResolver = typeResolver; }
public EventAccessorExtractor( IMethodDisassembler methodDisassembler, IInstructionHelper instructionHelper, IMethodResolver methodResolver, IInstructionsCompiler instructionsCompiler, IParameterDeducer parameterDeducer) { ArgumentChecker.NotNull(methodDisassembler, nameof(methodDisassembler)); ArgumentChecker.NotNull(instructionHelper, nameof(instructionHelper)); ArgumentChecker.NotNull(methodResolver, nameof(methodResolver)); ArgumentChecker.NotNull(instructionsCompiler, nameof(instructionsCompiler)); ArgumentChecker.NotNull(parameterDeducer, nameof(parameterDeducer)); _methodDisassembler = methodDisassembler; _instructionHelper = instructionHelper; _methodResolver = methodResolver; _instructionsCompiler = instructionsCompiler; _parameterDeducer = parameterDeducer; }
internal MethodRewriter(IInstructionHelper instructionHelper) { ArgumentChecker.NotNull(instructionHelper, () => instructionHelper); _instructionHelper = instructionHelper; }
internal MethodRewriter(IInstructionHelper instructionHelper) { ArgumentChecker.NotNull(instructionHelper, () => instructionHelper); _instructionHelper = instructionHelper; }
internal ParameterDeducer(IInstructionHelper instructionHelper) { ArgumentChecker.NotNull(instructionHelper, () => instructionHelper); _instructionHelper = instructionHelper; }