Moved extensions
This commit is contained in:
parent
c505889f79
commit
df196ae632
4 changed files with 19 additions and 2 deletions
16
TShockAPI/Extensions/StringExt.cs
Normal file
16
TShockAPI/Extensions/StringExt.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace TShockAPI
|
||||
{
|
||||
public static class StringExt
|
||||
{
|
||||
//Can't name it Format :(
|
||||
public static String SFormat(this String str, params object[] args)
|
||||
{
|
||||
return String.Format(str, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -95,16 +95,17 @@
|
|||
<Compile Include="DB\BanManager.cs" />
|
||||
<Compile Include="DBTools.cs" />
|
||||
<Compile Include="DB\ItemManager.cs" />
|
||||
<Compile Include="DB\DbExt.cs" />
|
||||
<Compile Include="Extensions\DbExt.cs" />
|
||||
<Compile Include="DB\GroupManager.cs" />
|
||||
<Compile Include="DB\UserManager.cs" />
|
||||
<Compile Include="Extensions\StringExt.cs" />
|
||||
<Compile Include="IPackable.cs" />
|
||||
<Compile Include="Commands.cs" />
|
||||
<Compile Include="ConfigFile.cs" />
|
||||
<Compile Include="FileTools.cs" />
|
||||
<Compile Include="GetDataHandlers.cs" />
|
||||
<Compile Include="Group.cs" />
|
||||
<Compile Include="LinqExt.cs" />
|
||||
<Compile Include="Extensions\LinqExt.cs" />
|
||||
<Compile Include="Log.cs" />
|
||||
<Compile Include="Net\NetTile.cs" />
|
||||
<Compile Include="Net\WorldInfoMsg.cs" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue