Show / Hide Table of Contents

Class TypeFactoryHelpers

Contains helper methods useful for constructing types.

Inheritance
object
TypeFactoryHelpers
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Helpers
Assembly: MCART.TypeFactory.dll
Syntax
[RequiresDynamicCode("The class makes calls to dynamic code, so it is not compatible with trimming.")]
public static class TypeFactoryHelpers

Methods

| Edit this page View Source

Merge(params object[])

Combines the public properties and methods of a collection of objects into a single dynamically‑generated wrapper.

Declaration
public static object Merge(params object[] instances)
Parameters
Type Name Description
object[] instances

The instances to merge into the new wrapper type.

Returns
Type Description
object

A newly compiled object that exposes all public properties and methods of the supplied types.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX