Table of Contents

Class GuildScheduledEventRecurrenceRuleProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll
public class GuildScheduledEventRecurrenceRuleProperties
Inheritance
GuildScheduledEventRecurrenceRuleProperties
Inherited Members

Constructors

GuildScheduledEventRecurrenceRuleProperties()

public GuildScheduledEventRecurrenceRuleProperties()

GuildScheduledEventRecurrenceRuleProperties(DateTimeOffset, RecurrenceFrequency, int, HashSet<RecurrenceRuleWeekday>, IEnumerable<RecurrenceRuleByNWeekday>, HashSet<RecurrenceRuleMonth>, HashSet<int>)

public GuildScheduledEventRecurrenceRuleProperties(DateTimeOffset startsAt, RecurrenceFrequency frequency, int interval, HashSet<RecurrenceRuleWeekday> byWeekday, IEnumerable<RecurrenceRuleByNWeekday> byNWeekday, HashSet<RecurrenceRuleMonth> byMonth, HashSet<int> byMonthDay)

Parameters

startsAt DateTimeOffset
frequency RecurrenceFrequency
interval int
byWeekday HashSet<RecurrenceRuleWeekday>
byNWeekday IEnumerable<RecurrenceRuleByNWeekday>
byMonth HashSet<RecurrenceRuleMonth>
byMonthDay HashSet<int>

Properties

ByMonth

Gets or sets the set of specific months to recur on.

public HashSet<RecurrenceRuleMonth> ByMonth { get; set; }

Property Value

HashSet<RecurrenceRuleMonth>

ByMonthDay

Gets or sets the set of specific dates within a month to recur on.

public HashSet<int> ByMonthDay { get; set; }

Property Value

HashSet<int>

ByNWeekday

Gets or sets the list of specific days within a specific week to recur on.

public List<RecurrenceRuleByNWeekday> ByNWeekday { get; set; }

Property Value

List<RecurrenceRuleByNWeekday>

ByWeekday

Gets or sets the set of specific days within a week for the event to recur on.

public HashSet<RecurrenceRuleWeekday> ByWeekday { get; set; }

Property Value

HashSet<RecurrenceRuleWeekday>

Frequency

Gets or sets how often the event occurs.

public RecurrenceFrequency Frequency { get; set; }

Property Value

RecurrenceFrequency

Interval

Gets or sets the spacing between the events, defined by Frequency.

public int Interval { get; set; }

Property Value

int

StartsAt

Gets or sets the starting time of the recurrence interval.

public DateTimeOffset StartsAt { get; set; }

Property Value

DateTimeOffset