1 instantiation of AspireExportData
Aspire.TypeSystem (1)
AttributeDataReader.cs (1)
276return new AspireExportData
42 references to AspireExportData
Aspire.Hosting.RemoteHost (18)
AtsCapabilityScanner.cs (18)
400foreach (var assemblyExportAttr in AttributeDataReader.GetAspireExportDataAll(assembly)) 449var typeExportAttr = GetAspireExportAttribute(type); 494var exportAttr = GetAspireExportAttribute(method); 1106AspireExportData exportAttr) 1613AspireExportData? assemblyExportAttr = null) 1630var typeExportAttr = assemblyExportAttr ?? GetAspireExportAttribute(contextType); 1658var memberExportAttr = GetAspireExportAttribute(property); 1885var memberExportAttr = GetAspireExportAttribute(method); 2028var memberExportAttr = GetAspireExportAttribute(property); 2054AspireExportData exportAttr, 3270private static AspireExportData? GetAspireExportAttribute(Type type) 3275private static AspireExportData? GetAspireExportAttribute(MethodInfo method) 3285var attr = AttributeDataReader.GetAspireExportData(type); 3294var attr = AttributeDataReader.GetAspireExportData(type); 3321private static bool ShouldExportMember(bool isPublic, bool exposeAll, AspireExportData? exportAttr) 3336private static AspireExportData? GetAspireExportAttribute(PropertyInfo property) 3453foreach (var export in AttributeDataReader.GetAspireExportDataAll(assembly)) 3989foreach (var export in AttributeDataReader.GetAspireExportDataAll(assembly))
Aspire.Hosting.RemoteHost.Tests (6)
AttributeDataReaderTests.cs (6)
30var result = AttributeDataReader.GetAspireExportData(method); 41var result = AttributeDataReader.GetAspireExportData(method); 49var result = AttributeDataReader.GetAspireExportData(typeof(ThirdPartyResource)); 174var result = AttributeDataReader.GetAspireExportData(method); 184var result = AttributeDataReader.GetAspireExportData(typeof(OfficialMethodsResource)); 195var result = AttributeDataReader.GetAspireExportData(method);
Aspire.TypeSystem (18)
AttributeDataReader.cs (18)
26/// Gets <see cref="AspireExportData"/> from the specified <paramref name="type"/>, if present. 28public static AspireExportData? GetAspireExportData(Type type) 29=> FindSingleAttribute<AspireExportData>(type.GetCustomAttributesData(), AspireExportAttributeFullName, ParseAspireExportData); 32/// Gets <see cref="AspireExportData"/> from the specified <paramref name="method"/>, if present. 34public static AspireExportData? GetAspireExportData(MethodInfo method) 35=> FindSingleAttribute<AspireExportData>(method.GetCustomAttributesData(), AspireExportAttributeFullName, ParseAspireExportData); 38/// Gets <see cref="AspireExportData"/> from the specified <paramref name="property"/>, if present. 40public static AspireExportData? GetAspireExportData(PropertyInfo property) 41=> FindSingleAttribute<AspireExportData>(property.GetCustomAttributesData(), AspireExportAttributeFullName, ParseAspireExportData); 44/// Gets all <see cref="AspireExportData"/> entries from the specified <paramref name="assembly"/>. 46public static IEnumerable<AspireExportData> GetAspireExportDataAll(Assembly assembly) 207private static AspireExportData ParseAspireExportData(CustomAttributeData data) 243case nameof(AspireExportData.Type): 249case nameof(AspireExportData.Description): 252case nameof(AspireExportData.MethodName): 255case nameof(AspireExportData.ExposeProperties): 261case nameof(AspireExportData.ExposeMethods): 267case nameof(AspireExportData.RunSyncOnBackgroundThread):