From 0ea16258dec4fc86864ee3c169928a5da2205ba0 Mon Sep 17 00:00:00 2001 From: Samuel Steele Date: Thu, 5 Sep 2024 14:28:43 -0400 Subject: [PATCH] Update dynamically access members annotations --- src/OperationInvoker/Abstractions/IOperationHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OperationInvoker/Abstractions/IOperationHandler.cs b/src/OperationInvoker/Abstractions/IOperationHandler.cs index 9f1221b..8552b88 100644 --- a/src/OperationInvoker/Abstractions/IOperationHandler.cs +++ b/src/OperationInvoker/Abstractions/IOperationHandler.cs @@ -4,7 +4,7 @@ namespace ESCd.Extensions.OperationInvoker.Abstractions; /// Describes a type that handles an operation of type . /// The type of handled. -[DynamicallyAccessedMembers( DynamicallyAccessedMemberTypes.PublicMethods )] +[DynamicallyAccessedMembers( DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.PublicMethods )] public interface IOperationHandler where TOperation : IOperation { @@ -17,7 +17,7 @@ public interface IOperationHandler /// Describes a type that handles an operation of type , that returns a result of type . /// The type of handled. /// The type of the result of invoking the handler. -[DynamicallyAccessedMembers( DynamicallyAccessedMemberTypes.PublicMethods )] +[DynamicallyAccessedMembers( DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.PublicMethods )] public interface IOperationHandler where TOperation : IOperation {