.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
IFactory.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
10
{
20
public
interface
IFactory
<out TInstance, in TIn1, in TIn2> where TInstance : class
21
{
27
TInstance Create(TIn1 parameter);
28
35
TInstance Create(TIn1 parameter, TIn2 parameterSet =
default
(TIn2));
36
}
37
}
Core.TypeCast.IFactory
The generic, common factory interface for declaring factories creating arbitrary object instances req...
Definition:
IFactory.cs:20
Core
TypeCast
Interface
IFactory.cs
Generated by
1.8.11