Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove reflections in POIFS.Crypt #1160

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

karakasa
Copy link
Contributor

@karakasa karakasa commented Aug 12, 2023

The original code uses dynamic type loading from loaded assemblies. This PR converts it into static dispatch. NPOI.POIFS.Crypt.Agile.AgileEncryptionInfoBuilder is kind of special as it is from the NPOI.OOXML assembly. Annotate the builder method with a DynamicDependency attribute.

@karakasa karakasa changed the title Remove reflections in POIFS.Crypt Remove reflections in POIFS.Crypt and motion to move Agile encryption algo into core library Aug 12, 2023
@karakasa karakasa marked this pull request as ready for review August 12, 2023 06:11
@karakasa karakasa marked this pull request as draft August 13, 2023 03:30
@karakasa karakasa changed the title Remove reflections in POIFS.Crypt and motion to move Agile encryption algo into core library Remove reflections in POIFS.Crypt Aug 13, 2023
@karakasa karakasa marked this pull request as ready for review August 13, 2023 03:53
@tonyqus tonyqus changed the base branch from master to aot August 13, 2023 14:16
@tonyqus tonyqus added this to the NPOI 2.7.1 milestone Aug 13, 2023
@tonyqus tonyqus added the aot label Aug 17, 2023
@tonyqus
Copy link
Member

tonyqus commented Aug 29, 2023

LGTM

@tonyqus tonyqus merged commit 0909fdf into nissl-lab:aot Aug 29, 2023
2 checks passed
@karakasa karakasa deleted the remove_reflection_poifs_encryption branch August 29, 2023 14:26
@tonyqus tonyqus modified the milestones: NPOI 2.7.1, NPOI AOT May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants