mirror of
https://github.com/tonytins/cstdotnet.git
synced 2025-07-04 21:50:27 -04:00
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:
parent
84c27a1b14
commit
e40ba5a904
10 changed files with 101 additions and 95 deletions
|
@ -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
9
CSTNet/IUIText.cs
Normal 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);
|
||||
}
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue