EnumExtensions.

HasFlagCustom<T>(T, T) Method

Namespace
Avalonia
Containing Type
EnumExtensions

Syntax

[MethodImpl(MethodImplOptions.AggressiveInlining)]
[Obsolete("This method is obsolete. Use HasAllFlags instead.")]
public static bool HasFlagCustom<T>(this T value, T flag) where T : unmanaged, Enum

Attributes

Type Description
MethodImplAttribute
ObsoleteAttribute

Type Parameters

Name Description
T

Parameters

Name Type Description
value T
flag T

Return Value

Type Description
bool