Class TypeAdapter
Inheritance
System.Object
TypeAdapter
Assembly: com.alelievr.NodeGraphProcessor.Runtime.dll
Syntax
public static class TypeAdapter
Methods
|
Improve this Doc
View Source
AreAssignable(Type, Type)
Declaration
public static bool AreAssignable(Type from, Type to)
Parameters
Type |
Name |
Description |
System.Type |
from |
|
System.Type |
to |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Convert(Object, Type)
Declaration
public static object Convert(object from, Type targetType)
Parameters
Type |
Name |
Description |
System.Object |
from |
|
System.Type |
targetType |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
GetConvertionMethod(Type, Type)
Declaration
public static MethodInfo GetConvertionMethod(Type from, Type to)
Parameters
Type |
Name |
Description |
System.Type |
from |
|
System.Type |
to |
|
Returns
Type |
Description |
System.Reflection.MethodInfo |
|