Skip to content

Toolkit: 1.6.0; Toolkit.Components: 1.0.0; Toolkit.UI.WPF: 1.0.0

Latest
Compare
Choose a tag to compare
@DepthRel DepthRel released this 19 Sep 12:49
· 19 commits to master since this release

What's new

Platform specific parts have been moved to the Toolkit.Components project, such as BaseViewModel. Created a Toolkit.UI.WPF project to implement WPF dependent entities.

Toolkit

- Contract

  • StringNotNullOrWhiteSpace, and NotNull overloads return the passed value if no exception was thrown.
    Examples of using:
    int first = 1;
    int second = 20;

    Extensions.Swap(ref first, ref second); // Now first is 20 and second is 1

- AppSettings

  • Added serialization and deserialization.
    Examples of using:
    AppSettings.Setting["value"] = "value";
    
    var SerializedJSON = AppSettings.Setting.SerializeToJSON();
    var SerializedXML = AppSettings.Setting.SerializeToXML();
  • Added the ability to get a value without throwing an exception in the absence of a key.
    Examples of using:
    AppSettings.Setting["value"] = "value";
    var result = AppSettings.Setting.TryGetSetting<string>("value");

Toolkit.Components

- ViewModels

  • BaseViewModel and RelayCommand are moved to this project.

- Notifications

  • Interfaces IMessage and IRequest have been created to encapsulate requests to the user. IMessage is for simply displaying a message, and IRequest is for returning results from requests.

Toolkit.UI.WPF

- Controls

  • PlaceholderTextBox, NumberBox, FontIcon controls have been created. More details at wiki
  • Created a custom dialog control similar to the native UWP dialog: DialogBox.