C# Класс Transit.Framework.TypeExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GetAllFieldsFromType ( this type ) : IEnumerable

Returns all fields from this type, including static, private and inherited private fields.

GetFieldByName ( this type, string name ) : FieldInfo

Searches for the field identified by the given name, regardless of type or accessibility. If it exists, it's returned.

Описание методов

GetAllFieldsFromType() публичный статический Метод

Returns all fields from this type, including static, private and inherited private fields.
public static GetAllFieldsFromType ( this type ) : IEnumerable
type this
Результат IEnumerable

GetFieldByName() публичный статический Метод

Searches for the field identified by the given name, regardless of type or accessibility. If it exists, it's returned.
public static GetFieldByName ( this type, string name ) : FieldInfo
type this
name string
Результат System.Reflection.FieldInfo