-
Notifications
You must be signed in to change notification settings - Fork 73
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
The (perhaps) final part of version-dependent code generation. #165
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous version didn't work correctly on IDynamicAnimatedVisualSource because it is uses WinRT events which don't seem to be expressable in C# (due to the return value from the _add method). So, this now requires that you have WinUI on your machine, and you may need to adjust the version number in the script.
tests/Mocks.cs
Outdated
using System; | ||
using System.Collections.Generic; | ||
using System.Numerics; | ||
//using System.Numerics.Vectors; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove? #Closed
string bytesFieldName, | ||
Uri imageUri, | ||
Wmd.LoadedImageSurface.LoadedImageSurfaceType loadedImageSurfaceType, | ||
byte[] bytes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting issue? #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This actually generates multiple versions of AnimatedVisual classes and switches between them at runtime.