public void AddOrdinalArgument(MemberInfo member) { if (OrdinalArguments.Any(m => m.GetDeclaredType().GetGenericIEnumerable() != null)) { throw new InvalidOperationException(Properties.Resources.OnlyLastOridnalArgumentCollectionMessage); } GetOrCreateMemberBindingDefinition(member); OrdinalArguments.Add(member); }
public void AddOrdinalArgument(MemberInfo member) { GetOrCreateMemberBindingDefinition(member); OrdinalArguments.Add(member); }