Show / Hide Table of Contents

Class BinaryOperator<TOperand1, TOperand2, TResult>

Represents reflected binary operator.

Inheritance
Object
Operator<Operator<TOperand1, TOperand2, TResult>>
BinaryOperator<TOperand1, TOperand2, TResult>
Implements
IOperator<Operator<TOperand1, TOperand2, TResult>>
IMember<MemberInfo, Operator<TOperand1, TOperand2, TResult>>
IMember<MemberInfo>
ICustomAttributeProvider
System.IConvertible<Operator<TOperand1, TOperand2, TResult>>
Inherited Members
Operator<Operator<TOperand1, TOperand2, TResult>>.Method
Operator<Operator<TOperand1, TOperand2, TResult>>.IMember<MemberInfo>.RuntimeMember
Operator<Operator<TOperand1, TOperand2, TResult>>.IMember<MemberInfo, Operator<TOperand1, TOperand2, TResult>>.Invoker
Operator<Operator<TOperand1, TOperand2, TResult>>.IMember<MemberInfo>.Name
Operator<Operator<TOperand1, TOperand2, TResult>>.Type
Operator<Operator<TOperand1, TOperand2, TResult>>.Equals(Object)
Operator<Operator<TOperand1, TOperand2, TResult>>.GetHashCode()
Operator<Operator<TOperand1, TOperand2, TResult>>.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public sealed class BinaryOperator<TOperand1, TOperand2, TResult> : Operator<Operator<TOperand1, TOperand2, TResult>>, IOperator<Operator<TOperand1, TOperand2, TResult>>, IMember<MemberInfo, Operator<TOperand1, TOperand2, TResult>>, IMember<MemberInfo>, ICustomAttributeProvider, IConvertible<Operator<TOperand1, TOperand2, TResult>>
Type Parameters
Name Description
TOperand1

The type of the first operand.

TOperand2

The type of the second operand.

TResult

The type of the operator result.

Properties

| Improve this Doc View Source

Type

Type of operator.

Declaration
public BinaryOperator Type { get; }
Property Value
Type Description
BinaryOperator

Methods

| Improve this Doc View Source

Invoke(TOperand1, TOperand2)

Invokes binary operator.

Declaration
public TResult Invoke(in TOperand1 first, in TOperand2 second)
Parameters
Type Name Description
TOperand1 first

First operand.

TOperand2 second

Second operand.

Returns
Type Description
TResult

Result of binary operator.

Implements

IOperator<TSignature>
IMember<TMember, TInvoker>
IMember<TMember>
System.Reflection.ICustomAttributeProvider
System.IConvertible<>

Extension Methods

AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, CancellationToken)
ObjectExtensions.GetUserData<T>(T)
ObjectExtensions.IsOneOf<T>(T, IEnumerable<T>)
ObjectExtensions.IsOneOf<T>(T, T[])
ObjectExtensions.Decompose<T, TResult1, TResult2>(T, Func<T, TResult1>, Func<T, TResult2>, out TResult1, out TResult2)
ObjectExtensions.Decompose<T, TResult1, TResult2>(T, ValueFunc<T, TResult1>, ValueFunc<T, TResult2>, out TResult1, out TResult2)
ObjectExtensions.Decompose<T, TResult1, TResult2>(T, Func<T, TResult1>, Func<T, TResult2>)
ObjectExtensions.Decompose<T, TResult1, TResult2>(T, ValueFunc<T, TResult1>, ValueFunc<T, TResult2>)
ObjectExtensions.As<T>(T)
CustomAttribute.IsDefined<TAttribute>(ICustomAttributeProvider, Boolean)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX