CommunityDates¶
Namespace Nfty.Core.Publish.Community in assembly Nfty.Core.
Date rules for a share arriving as a pull request.
Methods¶
Problem(CommunityEntry, CommunityEntry?, DateTimeOffset)¶
public static string? Problem(CommunityEntry candidate, CommunityEntry? previous, DateTimeOffset prCreated);
The sentence that refuses the entry's dates, or null.
Parameters
candidate(CommunityEntry) - The entry being added or updated.previous(CommunityEntry?) - The entry it replaces, if any.prCreated(DateTimeOffset) - When the pull request was opened.
Returns. The refusing sentence, or null when the dates are acceptable.