Skip to main content

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​

Boolean

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)​

public object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)

Parameters​

context ITypeDescriptorContext

culture CultureInfo

value Object

Returns​

Object

CanConvertTo(ITypeDescriptorContext, Type)​

public bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)

Parameters​

context ITypeDescriptorContext

destinationType Type

Returns​

Boolean

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

Returns​

Object