C# 클래스 NetMud.Utility.RenderUtility

Utilities for rendering output
파일 보기 프로젝트 열기: SwiftAusterity/NetMud

공개 메소드들

메소드 설명
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