API ReferenceFacepunch.ActionGraphs

ReflectionExtensionsclass

objectReflectionExtensions
Namespace
Facepunch.ActionGraphs
Assembly
Facepunch.ActionGraphs
Declaration
public static abstract sealed class Facepunch.ActionGraphs.ReflectionExtensions

Methods7

Showing 7 methods

public static bool AreSatisfiedBy(System.Reflection.GenericParameterAttributes attribs, System.Type type)PUBLICSTATIC

ParameterTypeDescription
attribsGenericParameterAttributes
typeType
Returns:bool

public static void AssertDelegateType(System.Type type, string paramName)PUBLICSTATIC

ParameterTypeDescription
typeType
paramNamestring
Returns:void

public static System.Type GetSimpleParameterType(System.Reflection.ParameterInfo parameter)PUBLICSTATIC

ParameterTypeDescription
parameterParameterInfo
Returns:Type

public static bool IsAssignableFromExtended(System.Type to, System.Type from, bool implicitConversions = True)PUBLICSTATIC

ParameterTypeDescription
toType
fromType
implicitConversions = Truebool
Returns:bool

public static bool IsAssignableToExtended(System.Type from, System.Type to, bool implicitConversions = True)PUBLICSTATIC

ParameterTypeDescription
fromType
toType
implicitConversions = Truebool
Returns:bool

public static bool IsTaskType(System.Type type)PUBLICSTATIC

ParameterTypeDescription
typeType
Returns:bool

public static bool IsTaskWithResultType(System.Type type, System.Type resultType)PUBLICSTATIC

ParameterTypeDescription
typeType
resultTypeType
Returns:bool

On this page