Table of Contents

Method HasAttachmentFlag

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

HasAttachmentFlag(AttachmentFlags, AttachmentFlags)

Calculates whether these attachment flags contain a specific flag.

public static bool HasAttachmentFlag(this AttachmentFlags baseFlags, AttachmentFlags flag)

Parameters

baseFlags AttachmentFlags

The existing flags.

flag AttachmentFlags

The flags to search for.

Returns

bool