dotnet-core/release-notes/5.0/netstandard2.1/5.0-preview5_System.ComponentModel.md

1.1 KiB

System.ComponentModel

 namespace System.ComponentModel {
     public sealed class AsyncOperation {
+        ~AsyncOperation();
     }
     public class TypeConverter {
         public class StandardValuesCollection : ICollection, IEnumerable {
-            int System.Collections.ICollection.Count { get; }

-            void System.Collections.ICollection.CopyTo(Array array, int index);

-            IEnumerator System.Collections.IEnumerable.GetEnumerator();

         }
     }
+    public class VersionConverter : TypeConverter {
+        public VersionConverter();
+        public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType);
+        public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);
+        public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value);
+        public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType);
+        public override bool IsValid(ITypeDescriptorContext context, object value);
+    }
 }