mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Server Import/Set Location Changes
- when changing the location, the profile will be updated to use the new config files.
This commit is contained in:
parent
a2d5c92c00
commit
7015523837
12 changed files with 100 additions and 27 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace ServerManagerTool.Common.Extensions
|
||||
{
|
||||
|
|
@ -13,5 +14,10 @@ namespace ServerManagerTool.Common.Extensions
|
|||
|
||||
return value.IndexOf(substring, comparisonType) >= 0;
|
||||
}
|
||||
|
||||
public static bool IsNumeric(this string value)
|
||||
{
|
||||
return value.All(char.IsNumber);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue