dotnet-core/release-notes/5.0/api-diff/netstandard2.1/5.0_System.ComponentModel.md

37 lines
1.4 KiB
Markdown
Raw Normal View History

# System.ComponentModel
``` diff
namespace System.ComponentModel {
public sealed class AsyncOperation {
+ ~AsyncOperation();
}
public sealed class ParenthesizePropertyNameAttribute : Attribute {
- public override bool Equals(object o);
+ public override bool Equals(object obj);
}
public sealed class RefreshPropertiesAttribute : Attribute {
- public override bool Equals(object value);
+ public override bool Equals(object obj);
}
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);
+ }
}
```