Class StructExtensions
Namespace: Void.Proxy.Api.Extensions
Assembly: Void.Proxy.Api.dll
Provides value-type comparison helpers.
public static class StructExtensionsInheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
IsDefault<T>(T)
Determines whether a value equals the default value of its type.
public static bool IsDefault<T>(this T value) where T : structParameters
value T
The value to compare.
Returns
true when value equals default(T); otherwise, false.
Type Parameters
T
The value type being compared.