UnaryOperationBinder.FallbackUnaryOperation Method

Definition

Performs the binding of the unary dynamic operation if the target dynamic object cannot bind.

Overloads

FallbackUnaryOperation(DynamicMetaObject)

Performs the binding of the unary dynamic operation if the target dynamic object cannot bind.

FallbackUnaryOperation(DynamicMetaObject, DynamicMetaObject)

Performs the binding of the unary dynamic operation if the target dynamic object cannot bind.

FallbackUnaryOperation(DynamicMetaObject)

Source:
UnaryOperationBinder.cs
Source:
UnaryOperationBinder.cs
Source:
UnaryOperationBinder.cs

Performs the binding of the unary dynamic operation if the target dynamic object cannot bind.

C#
public System.Dynamic.DynamicMetaObject FallbackUnaryOperation(System.Dynamic.DynamicMetaObject target);

Parameters

target
DynamicMetaObject

The target of the dynamic unary operation.

Returns

The DynamicMetaObject representing the result of the binding.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

FallbackUnaryOperation(DynamicMetaObject, DynamicMetaObject)

Source:
UnaryOperationBinder.cs
Source:
UnaryOperationBinder.cs
Source:
UnaryOperationBinder.cs

Performs the binding of the unary dynamic operation if the target dynamic object cannot bind.

C#
public abstract System.Dynamic.DynamicMetaObject FallbackUnaryOperation(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject errorSuggestion);
C#
public abstract System.Dynamic.DynamicMetaObject FallbackUnaryOperation(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject? errorSuggestion);

Parameters

target
DynamicMetaObject

The target of the dynamic unary operation.

errorSuggestion
DynamicMetaObject

The binding result in case the binding fails, or null.

Returns

The DynamicMetaObject representing the result of the binding.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0