PexCreatableByClassFactoryAttribute.TryInstantiate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to instantiate this definition with the specified arguments.
public:
override bool TryInstantiate(Microsoft::Pex::Engine::ComponentModel::IPexExplorationComponent ^ host, cli::array <Microsoft::ExtendedReflection::Metadata::TypeEx ^> ^ genericTypeArguments, [Runtime::InteropServices::Out] Microsoft::Pex::Engine::Creatable::IPexCreatable ^ % creatable);
public override bool TryInstantiate (Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent host, Microsoft.ExtendedReflection.Metadata.TypeEx[] genericTypeArguments, out Microsoft.Pex.Engine.Creatable.IPexCreatable creatable);
override this.TryInstantiate : Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent * Microsoft.ExtendedReflection.Metadata.TypeEx[] * IPexCreatable -> bool
Public Overrides Function TryInstantiate (host As IPexExplorationComponent, genericTypeArguments As TypeEx(), ByRef creatable As IPexCreatable) As Boolean
Parameters
- host
- Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent
The host.
- genericTypeArguments
- Microsoft.ExtendedReflection.Metadata.TypeEx[]
The type arguments.
- creatable
- Microsoft.Pex.Engine.Creatable.IPexCreatable
The creatable.