-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide theme fields for serialization from public interface (#8907)
Hide theme data properties from its public interface, since they don't provide a behavior one would naturally expect from a public property with a given name. The only intended usage for these properties is serialization.
- Loading branch information
1 parent
deaefda
commit acd50e5
Showing
4 changed files
with
27 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.Collections.Generic; | ||
using System.Drawing; | ||
|
||
namespace GitExtUtils.GitUI.Theming | ||
{ | ||
public interface IThemeSerializationData | ||
{ | ||
IReadOnlyDictionary<AppColor, Color> AppColorValues { get; } | ||
IReadOnlyDictionary<KnownColor, Color> SysColorValues { get; } | ||
} | ||
} |
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