.NET Portable TypeCast
3.1.0.4
A, easy-to-use tested, generic, portable, runtime-extensible, arbitrary type converter library
Main Page
Packages
Classes
Files
File List
DependencyInjection.cs
Go to the documentation of this file.
1
// <copyright file=mitlicense.md url=http://lsauer.mit-license.org/ >
2
// Lo Sauer, 2013-2016
3
// </copyright>
4
// <summary> A tested, generic, portable, runtime-extensible type converter library </summary
5
// <language> C# > 6.0 </language>
6
// <version> 3.1.0.2 </version>
7
// <author> Lorenz Lo Sauer; people credited in the sources </author>
8
// <project> https://github.com/lsauer/dotnet-portable-type-cast </project>
9
namespace
Core
.TypeCast.Base
10
{
11
using
System
;
12
using
System.Diagnostics.CodeAnalysis;
13
using
System.Reflection;
14
15
using
Core
.
Extensions
;
16
25
[System.Runtime.InteropServices.ComVisible(
false
)]
26
public
abstract
class
DependencyInjection
<TDependency>
27
{
35
protected
DependencyInjection
(TDependency injector)
36
{
37
if
(injector == null)
38
{
39
throw
new
DependencyInjectionException
(message: nameof(NullReferenceException), innerException:
new
NullReferenceException());
40
}
41
}
42
}
43
}
System
Core.TypeCast.DependencyInjectionException
The Exception-type which is raised exclusively by the DependencyInjection<TDependency> class ...
Definition:
DependencyInjectionException.cs:19
Core
Core.TypeCast.Base.DependencyInjection
The generic class used for deriving specific dependency-injection classes, used for reflection...
Definition:
DependencyInjection.cs:26
Core.TypeCast.Base.DependencyInjection.DependencyInjection
DependencyInjection(TDependency injector)
Initializes a new instance of the abstract DependencyInjection<TDependency> class.
Definition:
DependencyInjection.cs:35
Core.Extensions
Definition:
TypeMatch.cs:9
TypeCast
Base
DependencyInjection.cs
Generated by
1.8.11