Пример #1
0
 /// <summary>
 /// Parameter binding does the checking and conversions as specified by the
 /// attributes, so repeating that process is slow and wrong.  This function
 /// applies the attributes without repeating the checks.
 /// </summary>
 /// <param name="attributes">The list of attributes to add</param>
 internal void AddParameterAttributesNoChecks(Collection <Attribute> attributes)
 {
     foreach (Attribute attribute in attributes)
     {
         _attributes.AddAttributeNoCheck(attribute);
     }
 }