Table of Contents

Method HasMessageFlag

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

HasMessageFlag(MessageFlags, MessageFlags)

Calculates whether these message flags contain a specific flag.

public static bool HasMessageFlag(this MessageFlags baseFlags, MessageFlags flag)

Parameters

baseFlags MessageFlags

The existing flags.

flag MessageFlags

The flags to search for.

Returns

bool