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