ColorHelpers.TryParse method

Version 1.0.2
.NET Framework 4.7
Namespace Skybrud.Colors
Assembly Skybrud.Colors.dll

TryParse(string, out IColor)

Static

Attempts to parse the specified str into an instance of IColor.

public static bool TryParse(string str, IColor color)

Parameters

str String

The input string to be parsed.

color IColor

An instance of IColor.

Returns

true if str was converted successfully; otherwise, false.