1 instantiation of AspireExportData
Aspire.TypeSystem (1)
AttributeDataReader.cs (1)
197return new AspireExportData
40 references to AspireExportData
Aspire.Hosting.RemoteHost (16)
AtsCapabilityScanner.cs (16)
288foreach (var assemblyExportAttr in AttributeDataReader.GetAspireExportDataAll(assembly)) 335var typeExportAttr = GetAspireExportAttribute(type); 380var exportAttr = GetAspireExportAttribute(method); 915AspireExportData exportAttr) 1047var typeExportAttr = GetAspireExportAttribute(contextType); 1067var memberExportAttr = GetAspireExportAttribute(property); 1290var memberExportAttr = GetAspireExportAttribute(method); 1411AspireExportData exportAttr, 2508private static AspireExportData? GetAspireExportAttribute(Type type) 2513private static AspireExportData? GetAspireExportAttribute(MethodInfo method) 2523var attr = AttributeDataReader.GetAspireExportData(type); 2532var attr = AttributeDataReader.GetAspireExportData(type); 2557private static bool ShouldExportMember(bool isPublic, bool exposeAll, AspireExportData? exportAttr) 2572private static AspireExportData? GetAspireExportAttribute(PropertyInfo property) 2663foreach (var export in AttributeDataReader.GetAspireExportDataAll(assembly)) 2757foreach (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)); 115var result = AttributeDataReader.GetAspireExportData(method); 125var result = AttributeDataReader.GetAspireExportData(typeof(OfficialMethodsResource)); 136var result = AttributeDataReader.GetAspireExportData(method);
Aspire.TypeSystem (18)
AttributeDataReader.cs (18)
23/// Gets <see cref="AspireExportData"/> from the specified <paramref name="type"/>, if present. 25public static AspireExportData? GetAspireExportData(Type type) 26=> FindSingleAttribute<AspireExportData>(type.GetCustomAttributesData(), AspireExportAttributeFullName, ParseAspireExportData); 29/// Gets <see cref="AspireExportData"/> from the specified <paramref name="method"/>, if present. 31public static AspireExportData? GetAspireExportData(MethodInfo method) 32=> FindSingleAttribute<AspireExportData>(method.GetCustomAttributesData(), AspireExportAttributeFullName, ParseAspireExportData); 35/// Gets <see cref="AspireExportData"/> from the specified <paramref name="property"/>, if present. 37public static AspireExportData? GetAspireExportData(PropertyInfo property) 38=> FindSingleAttribute<AspireExportData>(property.GetCustomAttributesData(), AspireExportAttributeFullName, ParseAspireExportData); 41/// Gets all <see cref="AspireExportData"/> entries from the specified <paramref name="assembly"/>. 43public static IEnumerable<AspireExportData> GetAspireExportDataAll(Assembly assembly) 128private static AspireExportData ParseAspireExportData(CustomAttributeData data) 164case nameof(AspireExportData.Type): 170case nameof(AspireExportData.Description): 173case nameof(AspireExportData.MethodName): 176case nameof(AspireExportData.ExposeProperties): 182case nameof(AspireExportData.ExposeMethods): 188case nameof(AspireExportData.RunSyncOnBackgroundThread):