mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 19:27:56 +01:00
* Mark methods static and replace Count() with Length * Use IsNullOrEmpty for null string checks * Remove redundant initializations to default values * Use nameof(property name) in place of string literals * Add NativeMethods class * Rename property getters in KeysDataModel & AppSpecificKeysDataModel * Remove underscores from method names * Mark Helper class static * Address comments & typo fixes * Add EncoderGuid property and fix failing build * Update binding in GeneralPages.xaml
PowerToys Source Code
Code organization
The PowerToys are split into DLLs for each PowerToy module (modules folder), and an executable (runner folder) that loads and manages those DLLs.
The settings window is a separate executable, contained in settings folder. It utilizes a WebView to display an HTML-based settings window (contained in settings-web folder).
The common contains code for a static library with helper functions, used by both the runner and the PowerToys modules.