Skip to content

Class CreateTodoRequest

Namespace: MyApp.Application
Assembly: MyApp.Application.dll

Data for creating a new todo item.

public sealed record CreateTodoRequest : IEquatable<CreateTodoRequest>

Inheritance

object ← CreateTodoRequest

Implements

IEquatable<CreateTodoRequest>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

CreateTodoRequest(string)

Data for creating a new todo item.

public CreateTodoRequest(string Title)

Parameters

Title string

The title of the new item.

Properties

Title

The title of the new item.

public string Title { get; init; }

Property Value

string