dotnet-core/release-notes/3.0/preview/api-diff/preview2/3.0-preview2_System.ComponentModel.DataAnnotations.md
Ahson Khan c8cb26c4ee
Add API diff between .NET Core 3.0 preview1 and preview2. (#2255)
* Add API diff between .NET Core 3.0 preview1 and preview2.

* Generate the API diff using API reviewer to follow the consistent
formatting.

* Only diff ref assemblies that are in-box (M.Netcore.App).
2019-01-28 21:03:59 -08:00

664 B

System.ComponentModel.DataAnnotations

 namespace System.ComponentModel.DataAnnotations {
+    public class AssociatedMetadataTypeTypeDescriptionProvider : TypeDescriptionProvider {
+        public AssociatedMetadataTypeTypeDescriptionProvider(Type type);
+        public AssociatedMetadataTypeTypeDescriptionProvider(Type type, Type associatedMetadataType);
+        public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance);
+    }
+    public sealed class MetadataTypeAttribute : Attribute {
+        public MetadataTypeAttribute(Type metadataClassType);
+        public Type MetadataClassType { get; }
+    }
 }