/// <summary>
 /// Gets a value indicating whether an unknown attribute is encountered during deserialization.
 /// </summary>
 /// <returns>
 /// true when an unknown attribute is encountered while deserializing; otherwise, false.
 /// </returns>
 /// <param name="name">The name of the unrecognized attribute.
 ///                 </param><param name="value">The value of the unrecognized attribute.
 ///                 </param>
 protected override bool OnDeserializeUnrecognizedAttribute(string name, string value)
 {
     // Noop - we can read this for back compat, but it's now ignored.
     if (name == "genericParameterName")
     {
         return(true);
     }
     return(valueElementHelper.DeserializeUnrecognizedAttribute(name, value));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets a value indicating whether an unknown attribute is encountered during deserialization.
 /// </summary>
 /// <returns>
 /// true when an unknown attribute is encountered while deserializing; otherwise, false.
 /// </returns>
 /// <param name="name">The name of the unrecognized attribute.
 ///                 </param><param name="value">The value of the unrecognized attribute.
 ///                 </param>
 protected override bool OnDeserializeUnrecognizedAttribute(string name, string value)
 {
     return(valueElementHelper.DeserializeUnrecognizedAttribute(name, value));
 }