C# Class KernowCode.KTest.Logging.StringExtensions

Extensions of any Object. Use to name instances.
Show file Open project: KernowCode/UBADDAS

Public Methods

Method Description
CapitaliseInitial ( this text ) : string
DecapitaliseInitial ( this text ) : string
ExpandToReadable ( this text ) : string

Turns text in to readable text

i.e. 'myMethodName' becomes 'my method name'

Method Details

CapitaliseInitial() public static method

public static CapitaliseInitial ( this text ) : string
text this
return string

DecapitaliseInitial() public static method

public static DecapitaliseInitial ( this text ) : string
text this
return string

ExpandToReadable() public static method

Turns text in to readable text

i.e. 'myMethodName' becomes 'my method name'

public static ExpandToReadable ( this text ) : string
text this string to expand. i.e. 'myMethodName'
return string