Table of Contents

Class LinqInstanceProxy

Namespace
Dynamitey.DynamicObjects
Assembly
Dynamitey.Community.dll

Extension to Instance Proxy Configured for LINQ IEnumerable methods

public class LinqInstanceProxy : ExtensionToInstanceProxy, IDynamicMetaObjectProvider, IEquivalentType, IForwarder, IEnumerable<object>, IEnumerable
Inheritance
LinqInstanceProxy
Implements
Inherited Members
Extension Methods

Constructors

LinqInstanceProxy(dynamic)

Initializes a new instance of the LinqInstanceProxy class.

[RequiresUnreferencedCode("Calls the annotated ExtensionToInstanceProxy constructor, which reflects over target's interfaces.")]
[RequiresDynamicCode("Constructing any BaseForwarder-derived type instantiates System.Dynamic.DynamicObject, whose default constructor requires the DLR's runtime code generation; not supported when AOT-compiled.")]
public LinqInstanceProxy(dynamic target)

Parameters

target dynamic

The target.

Methods

CreateSelf(object, Type, Type[], Type[]?)

Creates the self.

[RequiresUnreferencedCode("Constructs the annotated LinqInstanceProxy.")]
[RequiresDynamicCode("Constructs the annotated LinqInstanceProxy, which requires the DLR's runtime code generation.")]
protected override ExtensionToInstanceProxy CreateSelf(object target, Type extendedType, Type[] staticTypes, Type[]? instanceHints)

Parameters

target object

The target.

extendedType Type

Type of the extended.

staticTypes Type[]

The static types.

instanceHints Type[]

The instance hints.

Returns

ExtensionToInstanceProxy

GetEnumerator()

Gets the enumerator.

public IEnumerator<object> GetEnumerator()

Returns

IEnumerator<object>