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.
파일 보기 프로젝트 열기: jbfp/Todoist.NET 1 사용 예제들

공개 메소드들

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