API ReferenceFacepunch.ActionGraphs

DefaultTypeLoaderclass

A default implementation of `Facepunch.ActionGraphs.ITypeLoader` with no access control.

objectDefaultTypeLoader
Namespace
Facepunch.ActionGraphs
Assembly
Facepunch.ActionGraphs
Declaration
public class Facepunch.ActionGraphs.DefaultTypeLoader

Constructors1

Showing 1 constructors

Methods15

Showing 15 methods

public virtual bool CanCache(System.Type type)PUBLICVIRTUAL

ParameterTypeDescription
typeType
Returns:bool

public virtual sealed System.Collections.Generic.IReadOnlyList`1<System.Reflection.ConstructorInfo> GetConstructors(System.Type declaringType)PUBLICVIRTUAL

ParameterTypeDescription
declaringTypeType
Returns:IReadOnlyList<ConstructorInfo>

public virtual sealed System.Reflection.FieldInfo GetField(System.Type declaringType, string name)PUBLICVIRTUAL

ParameterTypeDescription
declaringTypeType
namestring
Returns:FieldInfo

public virtual sealed System.Collections.Generic.IReadOnlyList`1<System.Reflection.MethodInfo> GetMethods(System.Type declaringType, string name)PUBLICVIRTUAL

ParameterTypeDescription
declaringTypeType
namestring
Returns:IReadOnlyList<MethodInfo>

public virtual System.Type GetNestedType(System.Type declaringType, string name)PUBLICVIRTUAL

ParameterTypeDescription
declaringTypeType
namestring
Returns:Type

public virtual sealed System.Reflection.PropertyInfo GetProperty(System.Type declaringType, string name)PUBLICVIRTUAL

ParameterTypeDescription
declaringTypeType
namestring
Returns:PropertyInfo

public virtual System.Type LoadType(string assemblyName, string fullName)PUBLICVIRTUAL

ParameterTypeDescription
assemblyNamestring
fullNamestring
Returns:Type

public virtual System.Type MakeArrayType(System.Type elementType, System.Nullable`1<int> rank)PUBLICVIRTUAL

ParameterTypeDescription
elementTypeType
rankNullable<int>
Returns:Type

public virtual System.Type MakeGenericType(System.Type genericTypeDefinition, System.Type[] genericArguments)PUBLICVIRTUAL

ParameterTypeDescription
genericTypeDefinitionType
genericArgumentsType[]
Returns:Type

public virtual System.Type TypeFromIdentifier(string value)PUBLICVIRTUAL

ParameterTypeDescription
valuestring
Returns:Type

public virtual string TypeToIdentifier(System.Type type)PUBLICVIRTUAL

ParameterTypeDescription
typeType
Returns:string

On this page