.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
IRepository.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
{
11
using
System
;
12
using
System.Collections;
13
14
using
Core
.
TypeCast
.
Base
;
15
18
public
interface
IRepository
19
{
25
object
Get(
object
id
);
26
}
27
30
public
interface
IRepository
<out TOut>
31
{
37
TOut Get(
object
id
);
38
}
39
44
public
interface
IRepository
<in TId1, out TOut>
45
{
46
TOut Get(TId1 id1);
47
}
48
54
public
interface
IRepository
<in TId1, in TId2, out TOut> :
IRepository
<TId1, TOut>
55
{
61
TOut Get(TId1 id1, TId2 id2);
62
}
63
}
Core.TypeCast.Base
Definition:
BaseClassFactoryRT.cs:9
System
Core.TypeCast.IRepository
The base repository interface
Definition:
IRepository.cs:18
Core.TypeCast
Core
TypeCast
Interface
IRepository.cs
Generated by
1.8.11