Skip to content

Commit

Permalink
sealed
Browse files Browse the repository at this point in the history
  • Loading branch information
xljiulang committed Jun 7, 2024
1 parent 7799cf5 commit 1289667
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WebApiClientCore/Implementations/ILEmitHttpApiActivator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace WebApiClientCore.Implementations
/// 运行时使用ILEmit动态创建THttpApi的代理类和代理类实例
/// </summary>
/// <typeparam name="THttpApi"></typeparam>
public class ILEmitHttpApiActivator<
public sealed class ILEmitHttpApiActivator<
#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace WebApiClientCore.Implementations
/// 通过查找类型代理类型创建实例
/// </summary>
/// <typeparam name="THttpApi"></typeparam>
public class SourceGeneratorHttpApiActivator<
public sealed class SourceGeneratorHttpApiActivator<
#if NET5_0_OR_GREATER
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
#endif
Expand Down

0 comments on commit 1289667

Please sign in to comment.