Class SvgNumberCollectionConverter
A class to convert string into SvgNumberCollection instances.
Inherited Members
System.ComponentModel.TypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Type)
System.ComponentModel.TypeConverter.ConvertFrom(System.Object)
System.ComponentModel.TypeConverter.ConvertToInvariantString(System.Object)
System.ComponentModel.TypeConverter.ConvertToString(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)
System.ComponentModel.TypeConverter.ConvertToString(System.Object)
System.ComponentModel.TypeConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext, System.Object)
System.ComponentModel.TypeConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext, System.Object, System.Attribute[])
System.ComponentModel.TypeConverter.GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext)
System.ComponentModel.TypeConverter.GetStandardValues()
System.ComponentModel.TypeConverter.GetStandardValuesExclusive()
System.ComponentModel.TypeConverter.GetStandardValuesSupported()
System.ComponentModel.TypeConverter.IsValid(System.ComponentModel.ITypeDescriptorContext, System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Svg
Assembly: Svg.dll
Syntax
public class SvgNumberCollectionConverter : TypeConverter
Methods
| Improve this Doc View SourceConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Converts the given object to the type of this converter, using the specified context and culture information.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | context | An System.ComponentModel.ITypeDescriptorContext that provides a format context. |
| CultureInfo | culture | The CultureInfo to use as the current culture. |
| Object | value | The Object to convert. |
Returns
| Type | Description |
|---|---|
| Object | An Object that represents the converted value. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException | The conversion cannot be performed. |
Parse(ReadOnlySpan<Char>)
Declaration
public static SvgNumberCollection Parse(ReadOnlySpan<char> numbers)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<System.Char> | numbers |
Returns
| Type | Description |
|---|---|
| SvgNumberCollection |