Table of Contents

CreateInstance Method

Definition

Namespace
Cuemon.Reflection
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Reflection/MemberParser.cs

CreateInstance(Func<ConstructorInfo, bool>)

Creates an instance of the Type associated with this parser.

public object CreateInstance(Func<ConstructorInfo, bool> predicate = null)

Parameters

predicate Func<ConstructorInfo, bool>

A function to test each ConstructorInfo for a condition.

Returns

object

An instance equivalent to the Type associated with this parser.