Table of Contents

Class IlluminantExtensions

Namespace
NixUniversalSDK
Assembly
NixUniversalSDK.dll

Extensions for the Illuminant enum

public static class IlluminantExtensions
Inheritance
IlluminantExtensions
Inherited Members

Methods

GetFullName(Illuminant)

Full name for display in UI (e.g. - 'D50' for D50)

public static string GetFullName(this Illuminant illuminant)

Parameters

illuminant Illuminant

Returns

string

GetIlluminant(byte)

Helper to provide the Illuminant enum for a particular byte value. If an invalid value is provided, None is returned.

public static Illuminant GetIlluminant(this byte value)

Parameters

value byte

Byte value of the given illuminant

Returns

Illuminant

Illuminant enum corresponding to the provided byte

GetIlluminant(string)

Helper to provide the Illuminant enum for a particular illuminant name. If an invalid name is provided, None is returned.

public static Illuminant GetIlluminant(this string name)

Parameters

name string

Full name of the given illuminant

Returns

Illuminant

Illuminant enum corresponding to the provided name