Skip to content
Docs Try Aspire
Docs Try

AttributeDataReader

Class static net8.0
📦 Aspire.TypeSystem v13.4.0
Provides full-name-based discovery of ATS attributes from Reflection.CustomAttributeData, so that third-party authors can define their own attribute types with the same full name without requiring a package reference to Aspire.Hosting.
namespace Aspire.TypeSystem;
public static class AttributeDataReader
{
// ...
}
GetAspireExportData(Type)static
Gets AspireExportData from the specified type, if present.
GetAspireExportData(MethodInfo)static
Gets AspireExportData from the specified method, if present.
GetAspireExportData(PropertyInfo)static
Gets AspireExportData from the specified property, if present.
GetAspireExportDataAll(Assembly)static
Gets all AspireExportData entries from the specified assembly.
GetAspireUnionData(ParameterInfo)static
Gets AspireUnionData from the specified parameter, if present.
GetAspireUnionData(PropertyInfo)static
Gets AspireUnionData from the specified property, if present.
GetAspireValueData(FieldInfo)static
Gets AspireValueData from the specified field, if present.
GetAspireValueData(PropertyInfo)static
Gets AspireValueData from the specified property, if present.
GetObsoleteData(MethodInfo)static
Gets ObsoleteData from the specified method, if present.
GetObsoleteData(PropertyInfo)static
Gets ObsoleteData from the specified property, if present.
GetObsoleteData(Type)static
Gets ObsoleteData from the specified type, if present.
HasAspireDtoData(Type)static
bool
Determines whether the specified type has the AspireDto attribute.
HasAspireExportIgnoreData(Type)static
bool
Determines whether the specified type has the AspireExportIgnore attribute.
HasAspireExportIgnoreData(PropertyInfo)static
bool
Determines whether the specified property has the AspireExportIgnore attribute.
HasAspireExportIgnoreData(MethodInfo)static
bool
Determines whether the specified method has the AspireExportIgnore attribute.
View all methods