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

Inheritance: ICauseTemplateRepository
Exibir arquivo Open project: JordanRift/Grassroots

Public Methods

Method Description
Add ( CauseTemplate causeTemplate ) : void
Delete ( CauseTemplate causeTemplate ) : void
Dispose ( ) : void
FindActiveCauseTemplates ( ) : IQueryable
FindAllCauseTemplates ( ) : IQueryable
GetCauseTemplateByID ( int id ) : CauseTemplate
Reset ( ) : void
Save ( ) : void

Private Methods

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

Method Details

Add() public method

public Add ( CauseTemplate causeTemplate ) : void
causeTemplate CauseTemplate
return void

Delete() public method

public Delete ( CauseTemplate causeTemplate ) : void
causeTemplate CauseTemplate
return void

Dispose() public method

public Dispose ( ) : void
return void

FindActiveCauseTemplates() public method

public FindActiveCauseTemplates ( ) : IQueryable
return IQueryable

FindAllCauseTemplates() public method

public FindAllCauseTemplates ( ) : IQueryable
return IQueryable

GetCauseTemplateByID() public method

public GetCauseTemplateByID ( int id ) : CauseTemplate
id int
return CauseTemplate

Reset() public static method

public static Reset ( ) : void
return void

Save() public method

public Save ( ) : void
return void