NodePathTypeConverter
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Converts a NodePath to and from a string.
public class NodePathTypeConverter : TypeConverter
Inheritance Object → TypeConverter → NodePathTypeConverter
Constructors
NodePathTypeConverter()
public NodePathTypeConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
public bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
context
ITypeDescriptorContext
sourceType
Type
Returns
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
public object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
context
ITypeDescriptorContext
culture
CultureInfo
value
Object
Returns
CanConvertTo(ITypeDescriptorContext, Type)
public bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
context
ITypeDescriptorContext
destinationType
Type
Returns
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
public object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
context
ITypeDescriptorContext
culture
CultureInfo
value
Object
destinationType
Type