| File: src\Aspire.Hosting.Analyzers\Infrastructure\WellKnownTypeData.cs | Web Access |
| Project: src\src\Aspire.Hosting.Integration.Analyzers\Aspire.Hosting.Integration.Analyzers.csproj (Aspire.Hosting.Integration.Analyzers) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Aspire.Hosting.Analyzers.Infrastructure; internal static class WellKnownTypeData { public enum WellKnownType { Aspire_Hosting_ApplicationModel_IModelNameParameter, Aspire_Hosting_ApplicationModel_ResourceNameAttribute, Aspire_Hosting_ApplicationModel_EndpointNameAttribute, Aspire_Hosting_AspireExportAttribute, Aspire_Hosting_AspireUnionAttribute, Aspire_Hosting_AspireDtoAttribute, Aspire_Hosting_AspireExportIgnoreAttribute, Aspire_Hosting_ApplicationModel_IResource, Aspire_Hosting_ApplicationModel_IResourceBuilder_1, Aspire_Hosting_IDistributedApplicationBuilder, System_Threading_Tasks_Task, System_Threading_Tasks_Task_1, // Date/time and scalar types System_DateTimeOffset, System_TimeSpan, System_DateOnly, System_TimeOnly, System_Guid, System_Uri, // Collection types System_Collections_Generic_Dictionary_2, System_Collections_Generic_IDictionary_2, System_Collections_Generic_List_1, System_Collections_Generic_IList_1, System_Collections_Generic_IReadOnlyList_1, System_Collections_Generic_IReadOnlyCollection_1, System_Collections_Generic_IEnumerable_1, System_Collections_Generic_IReadOnlyDictionary_2 } public static string[] WellKnownTypeNames = [ "Aspire.Hosting.ApplicationModel.IModelNameParameter", "Aspire.Hosting.ApplicationModel.ResourceNameAttribute", "Aspire.Hosting.ApplicationModel.EndpointNameAttribute", "Aspire.Hosting.AspireExportAttribute", "Aspire.Hosting.AspireUnionAttribute", "Aspire.Hosting.AspireDtoAttribute", "Aspire.Hosting.AspireExportIgnoreAttribute", "Aspire.Hosting.ApplicationModel.IResource", "Aspire.Hosting.ApplicationModel.IResourceBuilder`1", "Aspire.Hosting.IDistributedApplicationBuilder", "System.Threading.Tasks.Task", "System.Threading.Tasks.Task`1", // Date/time and scalar types "System.DateTimeOffset", "System.TimeSpan", "System.DateOnly", "System.TimeOnly", "System.Guid", "System.Uri", // Collection types "System.Collections.Generic.Dictionary`2", "System.Collections.Generic.IDictionary`2", "System.Collections.Generic.List`1", "System.Collections.Generic.IList`1", "System.Collections.Generic.IReadOnlyList`1", "System.Collections.Generic.IReadOnlyCollection`1", "System.Collections.Generic.IEnumerable`1", "System.Collections.Generic.IReadOnlyDictionary`2" ]; }