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
targetdynamicThe 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
targetobjectThe target.
extendedTypeTypeType of the extended.
staticTypesType[]The static types.
instanceHintsType[]The instance hints.
Returns
GetEnumerator()
Gets the enumerator.
public IEnumerator<object> GetEnumerator()