MetroIde.Helpers.VariousFunctions.SterilizeGamePluginFolder C# (CSharp) Method

SterilizeGamePluginFolder() public static method

Remove disallowed chars from the game name
public static SterilizeGamePluginFolder ( string gameName ) : string
gameName string Game Name from the XML file
return string
        public static string SterilizeGamePluginFolder(string gameName)
        {
            return DisallowedPluginChars.Aggregate(gameName,
                (current, disallowed) => current.Replace(disallowed.ToString(CultureInfo.InvariantCulture), ""));
        }