Table of Contents

Method HasSystemChannelFlag

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

HasSystemChannelFlag(SystemChannelFlags, SystemChannelFlags)

Calculates whether these system channel flags contain a specific flag.

public static bool HasSystemChannelFlag(this SystemChannelFlags baseFlags, SystemChannelFlags flag)

Parameters

baseFlags SystemChannelFlags

The existing flags.

flag SystemChannelFlags

The flag to search for.

Returns

bool

HasSystemChannelFlag(SystemChannelFlags?, SystemChannelFlags)

Calculates whether these system channel flags contain a specific flag.

public static bool HasSystemChannelFlag(this SystemChannelFlags? baseFlags, SystemChannelFlags flag)

Parameters

baseFlags SystemChannelFlags?

The existing flags.

flag SystemChannelFlags

The flag to search for.

Returns

bool