C# Class JordanRift.Grassroots.Tests.Fakes.FakeUserRepository

Inheritance: IUserRepository
Datei anzeigen Open project: JordanRift/Grassroots

Public Methods

Method Description
Add ( User user ) : void
Delete ( User user ) : void
Dispose ( ) : void
FindAllUsers ( ) : IQueryable
GetUserByName ( string name ) : User
Reset ( ) : void
Save ( ) : void

Private Methods

Method Description
FakeUserRepository ( ) : System.Collections.Generic
SetUp ( ) : void

Method Details

Add() public method

public Add ( User user ) : void
user User
return void

Delete() public method

public Delete ( User user ) : void
user User
return void

Dispose() public method

public Dispose ( ) : void
return void

FindAllUsers() public method

public FindAllUsers ( ) : IQueryable
return IQueryable

GetUserByName() public method

public GetUserByName ( string name ) : User
name string
return User

Reset() public static method

public static Reset ( ) : void
return void

Save() public method

public Save ( ) : void
return void