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

Inheritance: IUserProfileRepository
显示文件 Open project: JordanRift/Grassroots

Public Properties

Property Type Description
profiles IList

Public Methods

Method Description
Add ( UserProfile userProfile ) : void
Delete ( UserProfile userProfile ) : void
Dispose ( ) : void
Exists ( string email ) : bool
FindAllUserProfiles ( ) : IQueryable
FindUserProfileByEmail ( string email ) : IQueryable
GetUserProfileByActivationHash ( string hash ) : UserProfile
GetUserProfileByFacebookID ( string facebookID ) : UserProfile
GetUserProfileByID ( int id ) : UserProfile
Reset ( ) : void
Save ( ) : void

Private Methods

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

Method Details

Add() public method

public Add ( UserProfile userProfile ) : void
userProfile UserProfile
return void

Delete() public method

public Delete ( UserProfile userProfile ) : void
userProfile UserProfile
return void

Dispose() public method

public Dispose ( ) : void
return void

Exists() public method

public Exists ( string email ) : bool
email string
return bool

FindAllUserProfiles() public method

public FindAllUserProfiles ( ) : IQueryable
return IQueryable

FindUserProfileByEmail() public method

public FindUserProfileByEmail ( string email ) : IQueryable
email string
return IQueryable

GetUserProfileByActivationHash() public method

public GetUserProfileByActivationHash ( string hash ) : UserProfile
hash string
return UserProfile

GetUserProfileByFacebookID() public method

public GetUserProfileByFacebookID ( string facebookID ) : UserProfile
facebookID string
return UserProfile

GetUserProfileByID() public method

public GetUserProfileByID ( int id ) : UserProfile
id int
return UserProfile

Reset() public static method

public static Reset ( ) : void
return void

Save() public method

public Save ( ) : void
return void

Property Details

profiles public_oe static_oe property

public static IList profiles
return IList