Table of Contents

Struct ReminderUpdate

Namespace
The.Search
Assembly
Instagile.dll

Represents the result of querying a reminder's count. If ErrorName is set, CurrentCount should be ignored.

public record struct ReminderUpdate : IEquatable<ReminderUpdate>
Implements
Inherited Members

Constructors

ReminderUpdate(IReminder, int, string?, string?)

Represents the result of querying a reminder's count. If ErrorName is set, CurrentCount should be ignored.

public ReminderUpdate(IReminder Reminder, int CurrentCount, string? ErrorName = null, string? ErrorDetail = null)

Parameters

Reminder IReminder
CurrentCount int
ErrorName string
ErrorDetail string

Properties

CurrentCount

public int CurrentCount { readonly get; set; }

Property Value

int

ErrorDetail

public string? ErrorDetail { readonly get; set; }

Property Value

string

ErrorName

public string? ErrorName { readonly get; set; }

Property Value

string

Reminder

public IReminder Reminder { readonly get; set; }

Property Value

IReminder

Methods

FromError(IReminder, Exception)

public static ReminderUpdate FromError(IReminder reminder, Exception ex)

Parameters

reminder IReminder
ex Exception

Returns

ReminderUpdate

NotFound(IReminder)

public static ReminderUpdate NotFound(IReminder reminder)

Parameters

reminder IReminder

Returns

ReminderUpdate