C# Class NetMud.Utility.RenderUtility

Utilities for rendering output
Afficher le fichier Open project: SwiftAusterity/NetMud

Méthodes publiques

Méthode Description
GetDescription ( this enumVal ) : string

Gets an attribute on an enum field value

PadWithString ( this str, int padAmount, string padString, bool toTheLeft ) : string

Pads a string with characters

Method Details

GetDescription() public static méthode

Gets an attribute on an enum field value
public static GetDescription ( this enumVal ) : string
enumVal this The enum value
Résultat string

PadWithString() public static méthode

Pads a string with characters
public static PadWithString ( this str, int padAmount, string padString, bool toTheLeft ) : string
str this the string to pad
padAmount int how many to pad with
padString string what you're padding with
toTheLeft bool is this to the left or right
Résultat string