public ResolvedInjectedMethod( MethodDefinition methodDefinition, MethodInjectionPosition injectionPosition = MethodInjectionPosition.InjecteeMethodStart ) { MethodDefinition = methodDefinition ?? throw new ArgumentNullException(nameof(methodDefinition)); InjectionPosition = injectionPosition; }
public InjectedMethod( string assemblyPath, string methodFullName, MethodInjectionPosition injectionPosition = MethodInjectionPosition.InjecteeMethodStart ) { AssemblyPath = assemblyPath ?? throw new ArgumentNullException(nameof(assemblyPath)); MethodFullName = methodFullName ?? throw new ArgumentNullException(nameof(methodFullName)); InjectionPosition = injectionPosition; }
public InjectionConfiguration WithInjectionPosition(MethodInjectionPosition value) => null;