-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate IntelliChatModule into application startup
In this commit, the IntelliChatModule was integrated into the application startup sequence in `App.xaml.cs`. In `IntelliChatModule.cs`, JSON serialization and file I/O operations were added, along with a new class `IntelliChatModuleSettings` to store module settings. Two new classes `SupportedIntelliChatLanguage` and `IntelliChatWritingStyle` were added to represent supported languages and writing styles. The `IntelliChatModule` class was expanded to include a static instance of `IntelliChatModuleSettings`, methods for loading and saving settings, and methods for initializing default settings. The `PerformSpellingAndGrammarCheckAsync` and `PerformBeautifySentenceAsync` methods were updated to use the new settings structure. In `ViewModel.cs`, a new public property `IntelliChatModule` was added. The `SupportedIntelliChatLanguage` and `IntelliChatWritingStyle` enums were removed from `IntelliChatModule.cs` as they were replaced by the new classes.
- Loading branch information
Showing
3 changed files
with
194 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters