C# Класс NetMud.Utility.RenderUtility

Utilities for rendering output
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetDescription() публичный статический Метод

Gets an attribute on an enum field value
public static GetDescription ( this enumVal ) : string
enumVal this The enum value
Результат string

PadWithString() публичный статический Метод

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
Результат string