<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.1" />

DynamicallyAccessedMembersAttribute

Indicates that certain members on a specified Type are accessed dynamically, for example through Reflection.

Gets the DynamicallyAccessedMemberTypes which specifies the type of members dynamically accessed.

Initializes a new instance of the DynamicallyAccessedMembersAttribute class with the specified member types.