Table of Contents

Class AggreType

Namespace
Dynamitey.DynamicObjects
Assembly
Dynamitey.Community.dll

A Fake Type that is an aggregate of other types

public class AggreType : FauxType
Inheritance
AggreType
Inherited Members

Constructors

AggreType(params FauxType[])

Initializes a new instance of the AggreType class.

public AggreType(params FauxType[] types)

Parameters

types FauxType[]

The types.

Methods

AddType(FauxType)

Adds the type.

public void AddType(FauxType type)

Parameters

type FauxType

The type.

AddType(Type)

Adds the type.

public void AddType(Type type)

Parameters

type Type

The type.

GetContainedTypes()

Gets the contained types.

public override Type[] GetContainedTypes()

Returns

Type[]

GetInterfaceTypes()

Gets the interface types.

public Type[] GetInterfaceTypes()

Returns

Type[]

GetMember(string)

Gets the members.

[RequiresUnreferencedCode("Matches FauxType.GetMember's abstract declaration; delegates to each child FauxType, one of which may be a RealType that reflects over its target's members by name.")]
public override IEnumerable<MemberInfo> GetMember(string binderName)

Parameters

binderName string

Name of the binder.

Returns

IEnumerable<MemberInfo>

GetMemberNames()

Gets the union of every child type's member names.

[RequiresUnreferencedCode("Matches FauxType.GetMemberNames's abstract declaration; delegates to each child FauxType, one of which may be a RealType that reflects over its target's members.")]
public override IEnumerable<string> GetMemberNames()

Returns

IEnumerable<string>

The distinct member names across all aggregated types. Duplicates are removed here, so a name declared by two children is reported once.

MakeTypeAppendable(IEquivalentType)

Makes the type appendable.

public static AggreType MakeTypeAppendable(IEquivalentType type)

Parameters

type IEquivalentType

The type.

Returns

AggreType