Table of Contents

Class Reflector

Namespace
Shift.Common
Assembly
Shift.Common.dll
public class Reflector : SimpleReflector
Inheritance
Reflector
Inherited Members
Extension Methods

Constructors

Reflector()

public Reflector()

Methods

FindConstants(Type, char?)

public Dictionary<string, string> FindConstants(Type type, char? separator = null)

Parameters

type Type
separator char?

Returns

Dictionary<string, string>

GetClassName(Type)

Returns the assembly-qualified class name without the version, culture, and public key token.

public string GetClassName(Type type)

Parameters

type Type

Returns

string

GetResourceName(Type)

Convert the type name (including namespace) to a kebab-case relative path.

public string GetResourceName(Type type)

Parameters

type Type

Returns

string

GetSerializeProperties<T>(string)

public static PropertyInfo[] GetSerializeProperties<T>(string includes)

Parameters

includes string

Returns

PropertyInfo[]

Type Parameters

T