Skip to content

CommunityDuplicates

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

public static class CommunityDuplicates

Duplicate rules for a new share (spec 4.4a).

Methods

Problem(CommunityEntry, IEnumerable<CommunityEntry>)

public static string? Problem(CommunityEntry candidate, IEnumerable<CommunityEntry> listed);

The sentence that refuses candidate as a duplicate of something listed, or null.

Parameters

  • candidate (CommunityEntry) - The entry about to be added or updated.
  • listed (IEnumerable<CommunityEntry>) - Everything already in the gallery.

Returns. The refusing sentence, or null when the entry is not a duplicate.