EnumExtensions.

HasAnyFlag<T>(T, T) Method

Namespace
Avalonia
Containing Type
EnumExtensions

Syntax

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool HasAnyFlag<T>(this T value, T flags) where T : unmanaged, Enum

Attributes

Type Description
MethodImplAttribute

Type Parameters

Name Description
T

Parameters

Name Type Description
value T
flags T

Return Value

Type Description
bool