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

            GetOrCreateMemberBindingDefinition(member);
            OrdinalArguments.Add(member);
        }
Example #2
0
 public void AddOrdinalArgument(MemberInfo member)
 {
     GetOrCreateMemberBindingDefinition(member);
     OrdinalArguments.Add(member);
 }