Table of Contents

Class Recipe

Namespace
arolariu.Backend.Domain.Invoices.DDD.ValueObjects
Assembly
arolariu.Backend.Domain.Invoices.dll

Recipe model.

[ExcludeFromCodeCoverage]
public sealed record Recipe : IEquatable<Recipe>
Inheritance
Recipe
Implements
Inherited Members

Constructors

Recipe()

Parameterless constructor.

public Recipe()

Recipe(string, string, int, RecipeComplexity, ICollection<string>, Uri)

Parameterized constructor.

public Recipe(string name, string description, int approximateTotalDuration, RecipeComplexity complexity, ICollection<string> ingredients, Uri referenceForMoreDetails)

Parameters

name string
description string
approximateTotalDuration int
complexity RecipeComplexity
ingredients ICollection<string>
referenceForMoreDetails Uri

Properties

ApproximateTotalDuration

The recipe estimated duration.

public int ApproximateTotalDuration { get; set; }

Property Value

int

Complexity

The recipe complexity.

public RecipeComplexity Complexity { get; set; }

Property Value

RecipeComplexity

Description

The recipe description.

public string Description { get; set; }

Property Value

string

Ingredients

The recipe ingredients.

public ICollection<string> Ingredients { get; init; }

Property Value

ICollection<string>

Name

The recipe name.

public string Name { get; set; }

Property Value

string

ReferenceForMoreDetails

The recipe learn more address.

public Uri ReferenceForMoreDetails { get; set; }

Property Value

Uri