Class ParameterBase
A base class for implementing ParameterValue classes that deal in explicit types.
Inheritance
ParameterBase
Implements
Inherited Members
Namespace: Unity.Injection
Assembly: Unity.Abstractions.dll
Syntax
public abstract class ParameterBase : ParameterValue, IEquatable<Type>
Constructors
| Improve this Doc View SourceParameterBase(Type)
Create a new ParameterBase that exposes
information about the given parameterType
.
Declaration
protected ParameterBase(Type parameterType = null)
Parameters
Type | Name | Description |
---|---|---|
Type | parameterType | Type of the parameter. |
Properties
| Improve this Doc View SourceParameterType
The type of parameter this object represents.
Declaration
public virtual Type ParameterType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
| Improve this Doc View SourceEquals(Type)
Declaration
public override bool Equals(Type t)
Parameters
Type | Name | Description |
---|---|---|
Type | t |
Returns
Type | Description |
---|---|
Boolean |