C# Class Mono.Cecil.Inject.InjectFlagMethods

Extension methods for InjectFlags enumeration.
Mostra file Open project: denikson/Mono.Cecil.Inject

Public Methods

Method Description
IsSet ( this flags, InjectFlags flag ) : bool

Checks whether a certain flag has been set in the given flag.

ToValues ( this flags ) : InjectValues

Converts the flag (combination) into an instance of InjectValues.

Method Details

IsSet() public static method

Checks whether a certain flag has been set in the given flag.
public static IsSet ( this flags, InjectFlags flag ) : bool
flags this Flag combination to check.
flag InjectFlags Flag to check with.
return bool

ToValues() public static method

Converts the flag (combination) into an instance of InjectValues.
public static ToValues ( this flags ) : InjectValues
flags this Flags to convert.
return InjectValues