Edit

Share via


CommunityToolkit.Diagnostics Namespace

Classes

Guard

Helper methods to verify conditions when running code.

ThrowHelper

Helper methods to efficiently throw exceptions.

TypeExtensions

Helpers for working with types.

ValueTypeExtensions

Helpers for working with value types.

Structs

Guard.IsFalseInterpolatedStringHandler

Provides an interpolated string handler for IsFalse(Boolean, String, Guard+IsFalseInterpolatedStringHandler) that only performs formatting if the assert fails.

Guard.IsTrueInterpolatedStringHandler

Provides an interpolated string handler for IsTrue(Boolean, String, Guard+IsTrueInterpolatedStringHandler) that only performs formatting if the assert fails.