dotnet-core/release-notes/2.1/api-diff/2.0-vs-2.1_System.ComponentModel.DataAnnotations.md
2018-05-29 16:36:56 -07:00

16 lines
474 B
Markdown

# System.ComponentModel.DataAnnotations
``` diff
namespace System.ComponentModel.DataAnnotations {
public class DisplayFormatAttribute : Attribute {
+ public Type NullDisplayTextResourceType { get; set; }
+ public string GetNullDisplayText();
}
public class RangeAttribute : ValidationAttribute {
+ public bool ConvertValueInInvariantCulture { get; set; }
+ public bool ParseLimitsInInvariantCulture { get; set; }
}
}
```