DefaultStringSanitizer¶
Warning
This documentation is for an implementation of a service. This class is not meant to be used directly; instead use the IStringSanitizer service via dependency injection to access this functionality.
Information documented here may not be up to date.
-
class
DefaultStringSanitizer
: System.Object, IStringSanitizer The default implementation of T:Protogame.IStringSanitizer.
-
public string
SanitizeCharacters
(SpriteFont font, string text) Parameters: - font (Microsoft.Xna.Framework.Graphics.SpriteFont) –
- text (string) –
-
public string