C# Класс Newtonsoft.Json.Serialization.ReflectionAttributeProvider

Наследование: IAttributeProvider
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetAttributes ( Type attributeType, bool inherit ) : IList

Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.

GetAttributes ( bool inherit ) : IList

Returns a collection of all of the attributes, or an empty collection if there are no attributes.

ReflectionAttributeProvider ( object attributeProvider ) : System

Initializes a new instance of the ReflectionAttributeProvider class.

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

GetAttributes() публичный Метод

Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
public GetAttributes ( Type attributeType, bool inherit ) : IList
attributeType System.Type The type of the attributes.
inherit bool When true, look up the hierarchy chain for the inherited custom attribute.
Результат IList

GetAttributes() публичный Метод

Returns a collection of all of the attributes, or an empty collection if there are no attributes.
public GetAttributes ( bool inherit ) : IList
inherit bool When true, look up the hierarchy chain for the inherited custom attribute.
Результат IList

ReflectionAttributeProvider() публичный Метод

Initializes a new instance of the ReflectionAttributeProvider class.
public ReflectionAttributeProvider ( object attributeProvider ) : System
attributeProvider object The instance to get attributes for. This parameter should be a , , or .
Результат System