Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Newtonsoft.​Json.​Serialization.​IAttributeProvider

Assembly: Newtonsoft.Json

Provides methods to get attributes.

Methods

GetAttributes​(bool inherit)
Returns a collection of all of the attributes, or an empty collection if there are no attributes.
Returns A collection of <see cref="T:System.Attribute" /> s, or an empty collection.
inherit When <c>true</c> , look up the hierarchy chain for the inherited custom attribute.
GetAttributes​(System.​Type attributeType, bool inherit)
Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
Returns A collection of <see cref="T:System.Attribute" /> s, or an empty collection.
attributeType The type of the attributes.
inherit When <c>true</c> , look up the hierarchy chain for the inherited custom attribute.