Resolves the traits type.
Namespace:
Gallio.Runtime.ExtensibilityAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
Return Value
The traits type.
Remarks
The traits type is a subclass of Traits.
This method may cause plugin resources to be loaded. The caller should therefore assume that the operation is potentially time-consuming and may fail.
This method effectively performs two lookups. First it resolves the service type then it searches for the associated TraitsAttribute on the service. Consequently it is not possible to obtain the traits type name without loading the assembly in which the service and traits have been defined.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Runtime..::.RuntimeException | Thrown if an error occurs during resolution. |
