C# Класс 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.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Color ( TodoistColor todoistColor ) : System

Initializes a new instance of the Color class.

Приватные методы

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

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

Color() публичный Метод

Initializes a new instance of the Color class.
public Color ( TodoistColor todoistColor ) : System
todoistColor TodoistColor /// The . ///
Результат System