Table of Contents

Class GuidExtensions

Namespace
HeroKit.Guids
Assembly
HeroKit.dll

Contains extension methods for Guid type.

public static class GuidExtensions
Inheritance
GuidExtensions
Inherited Members

Methods

IsEmpty(Guid)

Determines whether a Guid is empty.

public static bool IsEmpty(this Guid value)

Parameters

value Guid

The Guid to check.

Returns

bool

true if the Guid is empty; otherwise, false.

IsNotEmpty(Guid)

Determines whether a Guid is not empty.

public static bool IsNotEmpty(this Guid value)

Parameters

value Guid

The Guid to check.

Returns

bool

true if the Guid is not empty; otherwise, false.

IsNotNullOrEmpty(Guid?)

Determines whether a Guid is not null or empty.

public static bool IsNotNullOrEmpty(this Guid? value)

Parameters

value Guid?

The Guid to check.

Returns

bool

true if the Guid is not null or empty; otherwise, false.

IsNullOrEmpty(Guid?)

Determines whether a Guid is null or empty.

public static bool IsNullOrEmpty(this Guid? value)

Parameters

value Guid?

The Guid to check.

Returns

bool

true if the Guid is null or empty; otherwise, false.