Click or drag to resize

EnumExtensionsOrOption Method

Computes the logical OR of the enum value and the specified option.

Namespace:  Slash.Unity.DataBind.Core.Utils
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static Enum OrOption(
	this Enum value,
	Enum option,
	Type enumType
)

Parameters

value
Type: SystemEnum
First operand.
option
Type: SystemEnum
Second operand.
enumType
Type: SystemType
Type of the enum to compute the new value of.

Return Value

Type: Enum
Logical OR of the enum value and the specified option.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Enum. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also