T
The service to resolve
Platform Core .NET Assemblies API
TryGet<T> Method
See Also  Send Feedback
Terrasoft.Core.Factories Namespace > ClassFactory Class : TryGet<T> Method
name
Full name of class.
instance
Instance of resolve service.
constructorArguments
Array of the constructor arguments of the replacement type.

Glossary Item Box

Tries to get an instance of the specified service by using the first binding with the specified name.

Syntax

 
C#
 
 

Parameters

name
Full name of class.
instance
Instance of resolve service.
constructorArguments
Array of the constructor arguments of the replacement type.

Type Parameters

T
The service to resolve

Return Value

true if finds instance of the class.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.