C# 클래스 Newtonsoft.Json.Serialization.ReflectionAttributeProvider

상속: IAttributeProvider
파일 보기 프로젝트 열기: JamesNK/Newtonsoft.Json 1 사용 예제들

공개 메소드들

메소드 설명
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