public static JsonContainerAttribute GetJsonContainerAttribute(Type type) { return(CachedAttributeGetter <JsonContainerAttribute> .GetAttribute(type)); }
public static T GetCachedAttribute <T>(object attributeProvider) where T : Attribute => CachedAttributeGetter <T> .GetAttribute(attributeProvider);
public static DataContractAttribute GetDataContractAttribute(Type type) { return(CachedAttributeGetter <DataContractAttribute> .GetAttribute(type)); }
public static SerializableAttribute GetSerializableAttribute(Type type) { return(CachedAttributeGetter <SerializableAttribute> .GetAttribute(type)); }
public static T?GetCachedAttribute <T>(object attributeProvider) where T : Attribute { return(CachedAttributeGetter <T> .GetAttribute(attributeProvider)); }