IUIText interface for UIText class

- Added test to VSCode tasks
- New deploy keys
- Renamed dpkgpackage workflow to publish
- Bump to version to 2.0, beta 1
This commit is contained in:
Tony Bark 2022-10-10 02:54:46 -04:00
parent 84c27a1b14
commit e40ba5a904
10 changed files with 101 additions and 95 deletions

View file

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.1;net6.0</TargetFrameworks>
<Version>1.0.400-beta1</Version>
<Version>2.0.100-beta1</Version>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
@ -16,4 +16,4 @@
<PackageLicenseExpression>BSD 3-Clause</PackageLicenseExpression>
</PropertyGroup>
</Project>
</Project>

9
CSTNet/IUIText.cs Normal file
View file

@ -0,0 +1,9 @@
// This project is licensed under the BSD 3-Clause license.
// See the LICENSE file in the project root for more information.
namespace CSTNet;
public interface IUIText
{
string[] BasePath { get; set; }
string GetText(int id, int key);
}

View file

@ -1,9 +1,8 @@
// This project is licensed under the BSD 3-Clause license.
// See the LICENSE file in the project root for more information.
namespace CSTNet;
public class UIText
public class UIText : IUIText
{
string Language { get; set; } = "english";