C# Class Disco.Services.Extensions.UIHelpers

Mostra file Open project: garysharp/Disco

Public Methods

Method Description
RandomIcon ( ) : string

Returns a randomly selected Icon using System.Random.

RandomIcon ( IEnumerable Except ) : string

Returns a randomly selected Icon using System.Random.

RandomThemeColour ( ) : string

Returns a randomly selected Theme Colour using System.Random.

RandomThemeColour ( IEnumerable Except ) : string

Returns a randomly selected Theme Colour using System.Random.

Private Methods

Method Description
UIHelpers ( ) : System

Method Details

RandomIcon() public static method

Returns a randomly selected Icon using System.Random.
public static RandomIcon ( ) : string
return string

RandomIcon() public static method

Returns a randomly selected Icon using System.Random.
public static RandomIcon ( IEnumerable Except ) : string
Except IEnumerable A list of Icons which will be ignored (if all are excluded, a random one will be returned)
return string

RandomThemeColour() public static method

Returns a randomly selected Theme Colour using System.Random.
public static RandomThemeColour ( ) : string
return string

RandomThemeColour() public static method

Returns a randomly selected Theme Colour using System.Random.
public static RandomThemeColour ( IEnumerable Except ) : string
Except IEnumerable A list of Theme Colours which will be ignored (if all are excluded, a random one will be returned)
return string