Show / Hide Table of Contents

Class ArcValueConverter

Converts instances of other types to and from instances of ArcValue.

Inheritance
object
TypeConverter
ArcValueConverter
TypeConverter.CanConvertFrom(Type)
TypeConverter.CanConvertTo(Type)
TypeConverter.ConvertFrom(object)
TypeConverter.ConvertFromInvariantString(ITypeDescriptorContext, string)
TypeConverter.ConvertFromInvariantString(string)
TypeConverter.ConvertFromString(ITypeDescriptorContext, CultureInfo, string)
TypeConverter.ConvertFromString(ITypeDescriptorContext, string)
TypeConverter.ConvertFromString(string)
TypeConverter.ConvertTo(object, Type)
TypeConverter.ConvertToInvariantString(ITypeDescriptorContext, object)
TypeConverter.ConvertToInvariantString(object)
TypeConverter.ConvertToString(ITypeDescriptorContext, CultureInfo, object)
TypeConverter.ConvertToString(ITypeDescriptorContext, object)
TypeConverter.ConvertToString(object)
TypeConverter.CreateInstance(IDictionary)
TypeConverter.CreateInstance(ITypeDescriptorContext, IDictionary)
TypeConverter.GetConvertFromException(object)
TypeConverter.GetConvertToException(object, Type)
TypeConverter.GetCreateInstanceSupported()
TypeConverter.GetCreateInstanceSupported(ITypeDescriptorContext)
TypeConverter.GetProperties(ITypeDescriptorContext, object)
TypeConverter.GetProperties(ITypeDescriptorContext, object, Attribute[])
TypeConverter.GetProperties(object)
TypeConverter.GetPropertiesSupported()
TypeConverter.GetPropertiesSupported(ITypeDescriptorContext)
TypeConverter.GetStandardValues()
TypeConverter.GetStandardValues(ITypeDescriptorContext)
TypeConverter.GetStandardValuesExclusive()
TypeConverter.GetStandardValuesExclusive(ITypeDescriptorContext)
TypeConverter.GetStandardValuesSupported()
TypeConverter.GetStandardValuesSupported(ITypeDescriptorContext)
TypeConverter.IsValid(ITypeDescriptorContext, object)
TypeConverter.IsValid(object)
TypeConverter.SortProperties(PropertyDescriptorCollection, string[])
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls.Shapes
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ArcValueConverter : TypeConverter

Methods

View Source

CanConvertFrom(ITypeDescriptorContext, Type)

Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.

Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
Type Name Description
ITypeDescriptorContext context

An ITypeDescriptorContext that provides a format context.

Type sourceType

A Type that represents the type you want to convert from.

Returns
Type Description
bool

true if this converter can perform the conversion; otherwise, false.

Overrides
TypeConverter.CanConvertFrom(ITypeDescriptorContext, Type)
View Source

CanConvertTo(ITypeDescriptorContext, Type)

Returns whether this converter can convert the object to the specified type, using the specified context.

Declaration
public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
Parameters
Type Name Description
ITypeDescriptorContext typeDescriptorContext
Type destinationType

A Type that represents the type you want to convert to.

Returns
Type Description
bool

true if this converter can perform the conversion; otherwise, false.

Overrides
TypeConverter.CanConvertTo(ITypeDescriptorContext, Type)
View Source

ConvertFrom(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 typeDescriptorContext, CultureInfo cultureInfo, object source)
Parameters
Type Name Description
ITypeDescriptorContext typeDescriptorContext
CultureInfo cultureInfo
object source
Returns
Type Description
object

An object that represents the converted value.

Overrides
TypeConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Exceptions
Type Condition
NotSupportedException

The conversion cannot be performed.

View Source

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

Converts the given value object to the specified type, using the specified context and culture information.

Declaration
public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType)
Parameters
Type Name Description
ITypeDescriptorContext typeDescriptorContext
CultureInfo cultureInfo
object value

The object to convert.

Type destinationType

The Type to convert the value parameter to.

Returns
Type Description
object

An object that represents the converted value.

Overrides
TypeConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Exceptions
Type Condition
ArgumentNullException

The destinationType parameter is null.

NotSupportedException

The conversion cannot be performed.

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX