Table of Contents

Class ParameterBase

Namespace
Unity.Injection
Assembly
Unity.Abstractions.dll

A base class for implementing ParameterValue classes that deal in explicit types.

public abstract class ParameterBase : ParameterValue, IEquatable<Type>
Inheritance
ParameterBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

ParameterBase(Type)

Create a new ParameterBase that exposes information about the given parameterType.

protected ParameterBase(Type parameterType = null)

Parameters

parameterType Type

Type of the parameter.

Properties

ParameterType

The type of parameter this object represents.

public virtual Type ParameterType { get; }

Property Value

Type

Methods

Equals(Type)

public override bool Equals(Type t)

Parameters

t Type

Returns

bool