diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml
index 172495c..ded9869 100644
--- a/.gitea/workflows/build.yml
+++ b/.gitea/workflows/build.yml
@@ -5,13 +5,13 @@ on:
branches:
- "dev"
paths:
- - "SimpleToolkit.UI.WinUI.Converters**"
+ - "MSEssentials.UI.WinUI.Converters**"
pull_request:
branches:
- "dev"
- "main"
paths:
- - "SimpleToolkit.UI.WinUI.Converters**"
+ - "MSEssentials.UI.WinUI.Converters**"
jobs:
build:
diff --git a/.gitea/workflows/build_publish.yml b/.gitea/workflows/build_publish.yml
index 05d2887..93acc34 100644
--- a/.gitea/workflows/build_publish.yml
+++ b/.gitea/workflows/build_publish.yml
@@ -8,7 +8,7 @@ on:
branches:
- "main"
paths:
- - "SimpleToolkit.UI.WinUI.Converters**"
+ - "MSEssentials.UI.WinUI.Converters**"
jobs:
build:
@@ -66,7 +66,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: nuget
- path: ./SimpleToolkit.UI.WinUI.Converters.${{needs.version.outputs.version}}.nupkg
+ path: ./MSEssentials.UI.WinUI.Converters.${{needs.version.outputs.version}}.nupkg
outputs:
version: ${{needs.version.outputs.version}}
publish:
@@ -84,11 +84,11 @@ jobs:
with:
dotnet-version: 8.0.x
- name: Publish
- run: dotnet nuget push ./SimpleToolkit.UI.WinUI.Converters.${{needs.pack.outputs.version}}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }}
+ run: dotnet nuget push ./MSEssentials.UI.WinUI.Converters.${{needs.pack.outputs.version}}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }}
- name: Create Release
uses: akkuman/gitea-release-action@v1
with:
tag_name: ${{needs.pack.outputs.version}}
name: ${{needs.pack.outputs.version}}
files: |-
- SimpleToolkit.UI.WinUI.Converters.${{needs.pack.outputs.version}}.nupkg
\ No newline at end of file
+ MSEssentials.UI.WinUI.Converters.${{needs.pack.outputs.version}}.nupkg
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index d28fc4c..8ba3748 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2026 SimpleToolkit
+Copyright (c) 2026 MSEssentials
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction, including
diff --git a/SimpleToolkit.UI.WinUI.Converters.sln b/MSEssentials.UI.WinUI.Converters.sln
similarity index 75%
rename from SimpleToolkit.UI.WinUI.Converters.sln
rename to MSEssentials.UI.WinUI.Converters.sln
index e9d9e34..7bb4d7d 100644
--- a/SimpleToolkit.UI.WinUI.Converters.sln
+++ b/MSEssentials.UI.WinUI.Converters.sln
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleToolkit.UI.WinUI.Converters", "SimpleToolkit.UI.WinUI.Converters\SimpleToolkit.UI.WinUI.Converters.csproj", "{6C5E0FB7-9E94-4F7D-B478-190E2A2C1D10}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSEssentials.UI.WinUI.Converters", "MSEssentials.UI.WinUI.Converters\MSEssentials.UI.WinUI.Converters.csproj", "{6C5E0FB7-9E94-4F7D-B478-190E2A2C1D10}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
diff --git a/SimpleToolkit.UI.WinUI.Converters/SimpleToolkit.UI.WinUI.Converters.csproj b/MSEssentials.UI.WinUI.Converters/MSEssentials.UI.WinUI.Converters.csproj
similarity index 69%
rename from SimpleToolkit.UI.WinUI.Converters/SimpleToolkit.UI.WinUI.Converters.csproj
rename to MSEssentials.UI.WinUI.Converters/MSEssentials.UI.WinUI.Converters.csproj
index 644ca00..df6b751 100644
--- a/SimpleToolkit.UI.WinUI.Converters/SimpleToolkit.UI.WinUI.Converters.csproj
+++ b/MSEssentials.UI.WinUI.Converters/MSEssentials.UI.WinUI.Converters.csproj
@@ -3,20 +3,20 @@
net8.0-windows10.0.19041.0
10.0.17763.0
- SimpleToolkit.UI.WinUI.Converters
+ MSEssentials.UI.WinUI.Converters
win10-x86;win10-x64;win10-arm64
true
true
README.md
false
enable
- SimpleToolkit.UI.WinUI.Converters
+ MSEssentials.UI.WinUI.Converters
Mateusz Skoczek
Mateusz Skoczek
- https://repos.mateuszskoczek.com/SimpleToolkit/
- https://repos.mateuszskoczek.com/SimpleToolkit/SimpleToolkit.UI.WinUI.Converters/src/branch/main/LICENSE
+ https://repos.mateuszskoczek.com/MSEssentials/
+ https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.UI.WinUI.Converters/src/branch/main/LICENSE
icon.png
- https://repos.mateuszskoczek.com/SimpleToolkit/SimpleToolkit.UI.WinUI.Converters
+ https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.UI.WinUI.Converters
Set of helpers, class extensions, UI controls used in my other C# projects - XAML value converters for WinUI applications
true
@@ -34,6 +34,7 @@
+
diff --git a/MSEssentials.UI.WinUI.Converters/ObjectToIntConverter.cs b/MSEssentials.UI.WinUI.Converters/ObjectToIntConverter.cs
new file mode 100644
index 0000000..86305c5
--- /dev/null
+++ b/MSEssentials.UI.WinUI.Converters/ObjectToIntConverter.cs
@@ -0,0 +1,18 @@
+using Microsoft.UI.Xaml.Data;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace MSEssentials.UI.WinUI.Converters
+{
+ public class ObjectToIntConverter : MSEssentials.UI.Common.Converters.ObjectToIntConverter, IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, string language) =>
+ base.Convert(value);
+
+ public object ConvertBack(object value, Type targetType, object parameter, string language) =>
+ base.ConvertBack((int)value);
+ }
+}
diff --git a/SimpleToolkit.UI.WinUI.Converters/ObjectToIntConverter.cs b/MSEssentials.UI.WinUI.Converters/ObjectToStringConverter.cs
similarity index 55%
rename from SimpleToolkit.UI.WinUI.Converters/ObjectToIntConverter.cs
rename to MSEssentials.UI.WinUI.Converters/ObjectToStringConverter.cs
index 29b14d3..825fa5c 100644
--- a/SimpleToolkit.UI.WinUI.Converters/ObjectToIntConverter.cs
+++ b/MSEssentials.UI.WinUI.Converters/ObjectToStringConverter.cs
@@ -5,18 +5,14 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
-namespace SimpleToolkit.UI.WinUI.Converters
+namespace MSEssentials.UI.WinUI.Converters
{
- public class ObjectToIntConverter : IValueConverter
+ public class ObjectToStringConverter : MSEssentials.UI.Common.Converters.ObjectToStringConverter, IValueConverter
{
- public object Convert(object value, Type targetType, object parameter, string language)
- {
- return (int)value;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, string language)
- {
+ public object Convert(object value, Type targetType, object parameter, string language) =>
+ base.Convert(value);
+
+ public object ConvertBack(object value, Type targetType, object parameter, string language) =>
throw new NotImplementedException();
- }
}
}
diff --git a/MSEssentials.UI.WinUI.Converters/README.md b/MSEssentials.UI.WinUI.Converters/README.md
new file mode 100644
index 0000000..097757c
--- /dev/null
+++ b/MSEssentials.UI.WinUI.Converters/README.md
@@ -0,0 +1,57 @@
+# MSEssentials.UI.WinUI.Converters
+
+### Set of helpers, class extensions, UI controls used in my other C# projects
+
+MSEssentials is package of useful classes, helpers, extensions and UI controls, I use in my C# projects. UI.WinUI.Converters subpackage contains XAML value converters for WinUI applications.
+
+---
+
+## NuGet registry status
+
+| Subpackage | Status |
+|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **MSEssentials.UI.WinUI.Converters** | [](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Converters/) |
+| MSEssentials.Extensions | [](https://www.nuget.org/packages/MSEssentials.Extensions/) |
+| MSEssentials.AspNetCore.Attributes | [](https://www.nuget.org/packages/MSEssentials.AspNetCore.Attributes/) |
+| MSEssentials.UI.Common.MVVM | [](https://www.nuget.org/packages/MSEssentials.UI.Common.MVVM/) |
+| MSEssentials.UI.Common.Converters | [](https://www.nuget.org/packages/MSEssentials.UI.Common.Converters/) |
+| MSEssentials.UI.WinUI.Behaviors | [](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Behaviors/) |
+| MSEssentials.UI.WinUI.Controls | [](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Controls/) |
+
+## Features
+
+- **ObjectToIntConverter** - converts any object to int (e.g. enums)
+- **ObjectToStringConverter** - converts any object to string
+
+## Dependencies
+
+Dependencies should be installed automatically with this package
+
+- Microsoft.WindowsAppSDK 1.4.240211001
+- MSEssentials.UI.Common.Converters
+
+## Installation and usage
+
+You can download package from official NuGet registry or .nupkg file itself from Releases tab.
+
+**CLI:**
+
+```
+dotnet add package MSEssentials.UI.WinUI.Converters
+```
+
+**Package reference in .csproj file:**
+
+```
+
+```
+
+## Attribution and contribution
+
+This project is open source on MIT License, so you can just copy and upload again to your repository. But according to the license, you must include information about the original author. You can find license [here](https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.UI.WinUI.Converters/src/branch/main/LICENSE).
+
+However, the preferred way to contribute would be to propose improvements in a pull request, through issues, or through other means of communication.
+
+**Other sources:**
+
+- Icon by [Icons8](icons8.com)
\ No newline at end of file
diff --git a/SimpleToolkit.UI.WinUI.Converters/icon.png b/MSEssentials.UI.WinUI.Converters/icon.png
similarity index 100%
rename from SimpleToolkit.UI.WinUI.Converters/icon.png
rename to MSEssentials.UI.WinUI.Converters/icon.png
diff --git a/README.md b/README.md
index f5035a4..33f41e6 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@

-SimpleToolkit.UI.WinUI.Converters
+MSEssentials.UI.WinUI.Converters
Set of helpers, class extensions, UI controls used in my other C# projects
-SimpleToolkit is package of useful classes, helpers, extensions and UI controls, I use in my C# projects. UI.WinUI.Converters subpackage contains XAML value converters for WinUI applications.
+MSEssentials is package of useful classes, helpers, extensions and UI controls, I use in my C# projects. UI.WinUI.Converters subpackage contains XAML value converters for WinUI applications.
---
@@ -13,7 +13,7 @@
> [!Important]
> **For Github users:**
>
-> This is only mirror repository. All changes are first uploaded to the repository here. Releases are also published on original repository. However, Github repository handles issues and pull requests for better accessibility.
+> This is only mirror repository. All changes are first uploaded to the repository here. Releases are also published on original repository. However, Github repository handles issues and pull requests for better accessibility.
## NuGet registry status
@@ -28,10 +28,10 @@
|
- SimpleToolkit.UI.WinUI.Converters
+ MSEssentials.UI.WinUI.Converters
|
-
+
|
@@ -41,58 +41,50 @@
|
- SimpleToolkit.Extensions
+ MSEssentials.Extensions
|
-
+
|
|
- SimpleToolkit.Attributes
+ MSEssentials.AspNetCore.Attributes
|
-
+
|
|
- SimpleToolkit.MVVM
+ MSEssentials.UI.Common.MVVM
|
-
+
|
|
- SimpleToolkit.UI.Models
+ MSEssentials.UI.Common.Converters
|
-
+
|
|
- SimpleToolkit.UI.WinUI.Behaviors
+ MSEssentials.UI.WinUI.Behaviors
|
-
+
|
|
- SimpleToolkit.UI.WinUI.Controls
+ MSEssentials.UI.WinUI.Controls
|
-
- |
-
-
- |
- SimpleToolkit.UI.WinUI.Helpers
- |
-
-
+
|
@@ -107,6 +99,7 @@
Dependencies should be installed automatically with this package
- Microsoft.WindowsAppSDK 1.4.240211001
+- MSEssentials.UI.Common.Converters
## Installation and usage
@@ -115,18 +108,18 @@ You can download package from official NuGet registry or .nupkg file itself from
**CLI:**
```
-dotnet add package SimpleToolkit.UI.WinUI.Converters
+dotnet add package MSEssentials.UI.WinUI.Converters
```
**Package reference in .csproj file:**
```
-
+
```
## Attribution and contribution
-This project is open source on MIT License, so you can just copy and upload again to your repository. But according to the license, you must include information about the original author. You can find license here.
+This project is open source on MIT License, so you can just copy and upload again to your repository. But according to the license, you must include information about the original author. You can find license here.
However, the preferred way to contribute would be to propose improvements in a pull request, through issues, or through other means of communication.
diff --git a/SimpleToolkit.UI.WinUI.Converters/ObjectToStringConverter.cs b/SimpleToolkit.UI.WinUI.Converters/ObjectToStringConverter.cs
deleted file mode 100644
index 37a7b94..0000000
--- a/SimpleToolkit.UI.WinUI.Converters/ObjectToStringConverter.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using Microsoft.UI.Xaml.Data;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace SimpleToolkit.UI.WinUI.Converters
-{
- public class ObjectToStringConverter : IValueConverter
- {
- #region METHODS
-
- public object Convert(object value, Type targetType, object parameter, string language) => value.ToString();
- public object ConvertBack(object value, Type targetType, object parameter, string language) => throw new NotImplementedException();
-
- #endregion
- }
-}
diff --git a/SimpleToolkit.UI.WinUI.Converters/README.md b/SimpleToolkit.UI.WinUI.Converters/README.md
deleted file mode 100644
index 6cd3629..0000000
--- a/SimpleToolkit.UI.WinUI.Converters/README.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# SimpleToolkit.UI.WinUI.Converters
-
-### Set of helpers, class extensions, UI controls used in my other C# projects
-
-SimpleToolkit is package of useful classes, helpers, extensions and UI controls, I use in my C# projects. UI.WinUI.Converters subpackage contains XAML value converters for WinUI applications.
-
----
-
-## NuGet registry status
-
-| Subpackage | Status |
-|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| **SimpleToolkit.UI.WinUI.Converters** | [](https://www.nuget.org/packages/SimpleToolkit.UI.WinUI.Converters/) |
-| SimpleToolkit.Extensions | [](https://www.nuget.org/packages/SimpleToolkit.Extensions/) |
-| SimpleToolkit.Attributes | [](https://www.nuget.org/packages/SimpleToolkit.Attributes/) |
-| SimpleToolkit.MVVM | [](https://www.nuget.org/packages/SimpleToolkit.MVVM/) |
-| SimpleToolkit.UI.Models | [](https://www.nuget.org/packages/SimpleToolkit.UI.Models/) |
-| SimpleToolkit.UI.WinUI.Behaviors | [](https://www.nuget.org/packages/SimpleToolkit.UI.WinUI.Behaviors/) |
-| SimpleToolkit.UI.WinUI.Controls | [](https://www.nuget.org/packages/SimpleToolkit.UI.WinUI.Controls/) |
-| SimpleToolkit.UI.WinUI.Helpers | [](https://www.nuget.org/packages/SimpleToolkit.UI.WinUI.Helpers/) |
-
-## Features
-
-- **ObjectToIntConverter** - converts any object to int (e.g. enums)
-- **ObjectToStringConverter** - converts any object to string
-
-## Dependencies
-
-Dependencies should be installed automatically with this package
-
-- Microsoft.WindowsAppSDK 1.4.240211001
-
-## Installation and usage
-
-You can download package from official NuGet registry or .nupkg file itself from Releases tab.
-
-**CLI:**
-
-```
-dotnet add package SimpleToolkit.UI.WinUI.Converters
-```
-
-**Package reference in .csproj file:**
-
-```
-
-```
-
-## Attribution and contribution
-
-This project is open source on MIT License, so you can just copy and upload again to your repository. But according to the license, you must include information about the original author. You can find license [here](https://repos.mateuszskoczek.com/SimpleToolkit/SimpleToolkit.UI.WinUI.Converters/src/branch/main/LICENSE).
-
-However, the preferred way to contribute would be to propose improvements in a pull request, through issues, or through other means of communication.
-
-**Other sources:**
-
-- Icon by [Icons8](icons8.com)
\ No newline at end of file