PeekedRecipe¶
Namespace Nfty.Core.Formats in assembly Nfty.Core.
One recipe's manifests: its own, and one per ingredient nested inside it.
Constructors¶
PeekedRecipe(RecipeManifest, IReadOnlyList<IngredientManifest>)¶
Parameters
Manifest(RecipeManifest) - The recipe manifest — layer order, rules, absent percents.Ingredients(IReadOnlyList<IngredientManifest>) - Its ingredients' manifests, ordinally by id.
Properties¶
Ingredients¶
Its ingredients' manifests, ordinally by id.
Manifest¶
The recipe manifest — layer order, rules, absent percents.
Methods¶
Of(LoadedRecipe)¶
The same recipe, projected off one that is already open and decoded.
Parameters
recipe(LoadedRecipe) - A loaded recipe.
Returns. Its manifest-only form.