Show / Hide Table of Contents

Class UnaryOperator<TOperand, TResult>

Represents unary operator applicable to type TOperand.

Inheritance
Object
Operator<Operator<TOperand, TResult>>
UnaryOperator<TOperand, TResult>
Implements
IOperator<Operator<TOperand, TResult>>
IMember<MemberInfo, Operator<TOperand, TResult>>
IMember<MemberInfo>
ICustomAttributeProvider
System.IConvertible<Operator<TOperand, TResult>>
Inherited Members
Operator<Operator<TOperand, TResult>>.Method
Operator<Operator<TOperand, TResult>>.IMember<MemberInfo>.RuntimeMember
Operator<Operator<TOperand, TResult>>.IMember<MemberInfo, Operator<TOperand, TResult>>.Invoker
Operator<Operator<TOperand, TResult>>.IMember<MemberInfo>.Name
Operator<Operator<TOperand, TResult>>.Type
Operator<Operator<TOperand, TResult>>.Equals(Object)
Operator<Operator<TOperand, TResult>>.GetHashCode()
Operator<Operator<TOperand, 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 UnaryOperator<TOperand, TResult> : Operator<Operator<TOperand, TResult>>, IOperator<Operator<TOperand, TResult>>, IMember<MemberInfo, Operator<TOperand, TResult>>, IMember<MemberInfo>, ICustomAttributeProvider, IConvertible<Operator<TOperand, TResult>>
Type Parameters
Name Description
TOperand

Target type.

TResult

Type of unary operator result.

Properties

| Improve this Doc View Source

Type

Type of operator.

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

Methods

| Improve this Doc View Source

Invoke(TOperand)

Invokes unary operator.

Declaration
public TResult Invoke(in TOperand operand)
Parameters
Type Name Description
TOperand operand

An operand.

Returns
Type Description
TResult

Result of unary 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