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
DateTimeOffsetfrequency
RecurrenceFrequencyinterval
intbyWeekday
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
ByMonthDay
Gets or sets the set of specific dates within a month to recur on.
public HashSet<int> ByMonthDay { get; set; }
Property Value
ByNWeekday
Gets or sets the list of specific days within a specific week to recur on.
public List<RecurrenceRuleByNWeekday> ByNWeekday { get; set; }
Property Value
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
Frequency
Gets or sets how often the event occurs.
public RecurrenceFrequency Frequency { get; set; }
Property Value
Interval
Gets or sets the spacing between the events, defined by Frequency.
public int Interval { get; set; }
Property Value
StartsAt
Gets or sets the starting time of the recurrence interval.
public DateTimeOffset StartsAt { get; set; }