C# Class Todoist.NET.Color

A necessary class, since Todoist.com only allows for 12 different colors and is very inconsistent in the API, whether a hex string or 'id' is to be returned.
Exibir arquivo Open project: jbfp/Todoist.NET Class Usage Examples

Public Methods

Method Description
Color ( TodoistColor todoistColor ) : System

Initializes a new instance of the Color class.

Private Methods

Method Description
ConvertStringToColor ( string htmlColor ) : System.Drawing.Color

Convert a hex string to a .NET Color object.

ConvertTodoistColorToString ( TodoistColor todoistColor ) : string

Converts TodoistColor to string.

ExtractHexDigits ( string input ) : string

Extract only the hex digits from a string.

Method Details

Color() public method

Initializes a new instance of the Color class.
public Color ( TodoistColor todoistColor ) : System
todoistColor TodoistColor /// The . ///
return System