Table of Contents

Class DescriptorHelpers

Namespace
MoonSharp.Interpreter.Interop
Assembly
Assembly-CSharp.dll
public static class DescriptorHelpers
Inheritance
DescriptorHelpers
Inherited Members

Methods

Camelify(string)

public static string Camelify(string name)

Parameters

name string

Returns

string

GetAllImplementedTypes(Type)

public static IEnumerable<Type> GetAllImplementedTypes(this Type t)

Parameters

t Type

Returns

IEnumerable<Type>

GetClrVisibility(FieldInfo)

public static string GetClrVisibility(this FieldInfo info)

Parameters

info FieldInfo

Returns

string

GetClrVisibility(MethodBase)

public static string GetClrVisibility(this MethodBase info)

Parameters

info MethodBase

Returns

string

GetClrVisibility(PropertyInfo)

public static string GetClrVisibility(this PropertyInfo info)

Parameters

info PropertyInfo

Returns

string

GetClrVisibility(Type)

public static string GetClrVisibility(this Type type)

Parameters

type Type

Returns

string

GetConversionMethodName(Type)

public static string GetConversionMethodName(this Type type)

Parameters

type Type

Returns

string

GetMetaNamesFromAttributes(MethodInfo)

public static List<string> GetMetaNamesFromAttributes(this MethodInfo mi)

Parameters

mi MethodInfo

Returns

List<string>

GetVisibilityFromAttributes(MemberInfo)

public static bool? GetVisibilityFromAttributes(this MemberInfo mi)

Parameters

mi MemberInfo

Returns

bool?

IsDelegateType(Type)

public static bool IsDelegateType(this Type t)

Parameters

t Type

Returns

bool

IsPropertyInfoPublic(PropertyInfo)

public static bool IsPropertyInfoPublic(this PropertyInfo pi)

Parameters

pi PropertyInfo

Returns

bool

IsValidSimpleIdentifier(string)

public static bool IsValidSimpleIdentifier(string str)

Parameters

str string

Returns

bool

SafeGetTypes(Assembly)

public static Type[] SafeGetTypes(this Assembly asm)

Parameters

asm Assembly

Returns

Type[]

ToValidSimpleIdentifier(string)

public static string ToValidSimpleIdentifier(string str)

Parameters

str string

Returns

string

UpperFirstLetter(string)

public static string UpperFirstLetter(string name)

Parameters

name string

Returns

string