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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue