ookii-dialogs / ookii-dialogs-wpf

Awesome dialogs for Windows Desktop applications built with Microsoft .NET (WPF)
BSD 3-Clause "New" or "Revised" License
1.14k stars 85 forks source link

Initial implementation of LibraryImport (.NET 7) #114

Open FirehawkV21 opened 2 years ago

FirehawkV21 commented 2 years ago

This is an implementation of .NET 7's LibraryImport Source Generator. Similar to CsWin32, it creates P/Invoke calls in a performant manner. Not all DllImport calls were converted to the new one, since the source generator couldn't do much with these. It could be combined with #84 to fix this and provide similar improvements to older frameworks.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.