Skip to content

SkippedModel

Namespace Nfty.Model in assembly Nfty.Model.

public sealed record SkippedModel

A picture a batch left out.

Constructors

SkippedModel(string, SkipReason, string)

public SkippedModel(string Name, SkipReason Reason, string Message);

Parameters

  • Name (string) - The file name stem it would have had (already made safe and distinct).
  • Reason (SkipReason) - Why, decided by which check refused it, never by reading a message.
  • Message (string) - The sentence that says so, for people.

Properties

Message

public string Message { get; init; }

The sentence that says so, for people.

Name

public string Name { get; init; }

The file name stem it would have had (already made safe and distinct).

Reason

public SkipReason Reason { get; init; }

Why, decided by which check refused it, never by reading a message.

Methods

ToString()

public override string ToString();

The line form: name: message.

Returns. The line, without a trailing newline.