IResolverResult Interface
Provides the base requirements of a single result from an IResolver resolution operation.
public interface IResolverResult
Properties
Kind
Gets the ResolverResultKind indicating the kind of resolver result.
ResolverResultKind Kind { get; }
Property Value
- ResolverResultKind:
The ResolverResultKind indicating the kind of resolver result.
Name
Gets a name identifying the result.
Type
Gets a ITypeDefinition indicating the type.
ITypeDefinition Type { get; }
Property Value
- ITypeDefinition:
A ITypeDefinition indicating the type.
TypeIsInstance
Gets whether the return Type reference designates an instance of the type.
bool TypeIsInstance { get; }
Property Value
Methods
Clone(string)
Deep clones the resolver result using the specified alias as the name.
IResolverResult Clone(string alias)
Parameter | Type | Description |
---|---|---|
alias | string | The alias. |
Returns
- IResolverResult:
The cloned result.