<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />

IAttributeProvider

public interface IAttributeProvider
Provides methods to get attributes.
using System; using System.Collections.Generic; namespace Newtonsoft.Json.Serialization { public interface IAttributeProvider { IList<Attribute> GetAttributes(bool inherit); IList<Attribute> GetAttributes(Type attributeType, bool inherit); } }