Skip to content

Commit 1cce5d5

Browse files
vnbaaijdvoituron
andauthored
Change DynamicallyAccessedMemberTypes to All (in line with usage in rest of the code (#4106)
Co-authored-by: Denis Voituron <dvoituron@outlook.com>
1 parent 4f3151b commit 1cce5d5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Core/Components/Toast/ContentComponents/CommunicationToast.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.FluentUI.AspNetCore.Components;
99

10-
[method: DynamicDependency(DynamicallyAccessedMemberTypes.PublicConstructors, typeof(CommunicationToast))]
10+
[method: DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(CommunicationToast))]
1111
public partial class CommunicationToast() : IToastContentComponent<CommunicationToastContent>
1212
{
1313

src/Core/Components/Toast/ContentComponents/ConfirmationToast.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace Microsoft.FluentUI.AspNetCore.Components;
88

9-
[method: DynamicDependency(DynamicallyAccessedMemberTypes.PublicConstructors, typeof(ConfirmationToast))]
9+
[method: DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ConfirmationToast))]
1010
public partial class ConfirmationToast()
1111
{
1212

src/Core/Components/Toast/ContentComponents/ProgressToast.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Microsoft.FluentUI.AspNetCore.Components;
99

10-
[method: DynamicDependency(DynamicallyAccessedMemberTypes.PublicConstructors, typeof(ProgressToast))]
10+
[method: DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(ProgressToast))]
1111
public partial class ProgressToast() : IToastContentComponent<ProgressToastContent>
1212
{
1313
[Parameter]

0 commit comments

Comments
 (0)