IRepositoryExtensions Class
Namespace: PTS.Modules.Tests.Infrastructure.Extensions
Assembly: Modules.Tests.dll
Syntax
public static class IRepositoryExtensions
Inheritance
System.Object
IRepositoryExtensions
Methods
ToMockRepository<T>(List<T>)
Declaration
public static IRepository<T> ToMockRepository<T>(this List<T> sourceList)
where T : class
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<T> | sourceList |
Returns
Type | Description |
---|---|
IRepository<T> |
Type Parameters
Name | Description |
---|---|
T |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()