Skip to content

ShareResult

Namespace Nfty.Core.Publish.Community in assembly Nfty.Core.

public sealed record ShareResult

A submitted share.

Constructors

ShareResult(int, Uri, string, string, PendingShare)

public ShareResult(int PullNumber, Uri PullUrl, string Slug, string Tag, PendingShare Pending);

Parameters

  • PullNumber (int) - The gallery pull request.
  • PullUrl (Uri) - Where to read it.
  • Slug (string) - The share's slug.
  • Tag (string) - The Release tag that holds its files.
  • Pending (PendingShare) - What CommunityShare.FinishAsync() does once it merges.

Properties

Pending

public PendingShare Pending { get; init; }

What CommunityShare.FinishAsync() does once it merges.

PullNumber

public int PullNumber { get; init; }

The gallery pull request.

PullUrl

public Uri PullUrl { get; init; }

Where to read it.

Slug

public string Slug { get; init; }

The share's slug.

Tag

public string Tag { get; init; }

The Release tag that holds its files.