public MethodBasedOperation(IObjectBinderLocator binderLocator, IType ownerType, IMethod method) { _method = method; _ownerType = ownerType; _parameterBinders = method.InputMembers.ToDictionary(x => x, x => binderLocator.GetBinder(x)); Inputs = _parameterBinders.Select(x => new InputMember(x.Key, x.Value, x.Key.IsOptional)); ExtendedProperties = new NullBehaviorDictionary <object, object>(); }