Make errorhandler and languagehandler async, await all database actions
This commit is contained in:
parent
926a632641
commit
95618b1f8b
46 changed files with 181 additions and 137 deletions
12
Geekbot.net/Lib/Extensions/StringExtensions.cs
Normal file
12
Geekbot.net/Lib/Extensions/StringExtensions.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System.Linq;
|
||||
|
||||
namespace Geekbot.net.Lib.Extensions
|
||||
{
|
||||
public static class StringExtensions
|
||||
{
|
||||
public static string CapitalizeFirst(this string source)
|
||||
{
|
||||
return source.First().ToString().ToUpper() + source.Substring(1);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue