Ejemplo n.º 1
0
 private DbRecipeStep Convert(IRecipeStep recipe)
 {
     return(new DbRecipeStep
     {
         Id = recipe.Id,
         Order = recipe.Order,
         Text = recipe.Text
     });
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Checks whether an element passes the specified <see cref="IfZeroInstallVersion"/> restriction, if any.
 /// </summary>
 protected static bool FilterMismatch(IRecipeStep step)
 {
     return(FilterMismatch(step as FeedElement));
 }