C# Class Harvest.OrchardDevToolbelt.Services.RecipeService

Inheritance: IRecipeService
Show file Open project: sfmskywalker/OrchardDevToolbelt

Public Methods

Method Description
CreateRecipe ( string name, RecipeCategory category ) : Recipe
FindRecipes ( bool>.Expression predicate ) : IEnumerable
GetAllRecipes ( ) : IEnumerable
GetRecipeByName ( string name ) : Recipe
RecipeService ( IRepository recipeRepository ) : System

Method Details

CreateRecipe() public method

public CreateRecipe ( string name, RecipeCategory category ) : Recipe
name string
category Harvest.OrchardDevToolbelt.Models.RecipeCategory
return Harvest.OrchardDevToolbelt.Models.Recipe

FindRecipes() public method

public FindRecipes ( bool>.Expression predicate ) : IEnumerable
predicate bool>.Expression
return IEnumerable

GetAllRecipes() public method

public GetAllRecipes ( ) : IEnumerable
return IEnumerable

GetRecipeByName() public method

public GetRecipeByName ( string name ) : Recipe
name string
return Harvest.OrchardDevToolbelt.Models.Recipe

RecipeService() public method

public RecipeService ( IRepository recipeRepository ) : System
recipeRepository IRepository
return System