Table of Contents

Class InvalidDependencyCastException

Namespace
LfrlAnvil.Dependencies.Exceptions
Assembly
LfrlAnvil.Dependencies.dll

Represents an error that occurred due to an invalid type cast of a resolved dependency.

public class InvalidDependencyCastException : InvalidOperationException, ISerializable
Inheritance
InvalidDependencyCastException
Implements
Inherited Members

Constructors

InvalidDependencyCastException(Type)

Creates a new InvalidDependencyCastException instance.

public InvalidDependencyCastException(Type dependencyType)

Parameters

dependencyType Type

Expected type.

Properties

DependencyType

Expected type.

public Type DependencyType { get; }

Property Value

Type