Show / Hide Table of Contents

Class RecurringSubSeries

Inheritance
object
RecurringSubSeries
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Util
Assembly: SoDataBase.dll
Syntax
public class RecurringSubSeries

Constructors

RecurringSubSeries(InvitationRecordData)

Declaration
public RecurringSubSeries(InvitationRecordData invitationRecordData)
Parameters
Type Name Description
InvitationRecordData invitationRecordData

Fields

AppointmentsInSeries

The records only contain DoBy, EndDate and AppointmentId data. The rest of the fields are not filled.

Declaration
public readonly List<AppointmentRecordData> AppointmentsInSeries
Field Value
Type Description
List<AppointmentRecordData>

InvitationRecordData

Declaration
public readonly InvitationRecordData InvitationRecordData
Field Value
Type Description
InvitationRecordData

Properties

InvitationAppointmentDoBy

Declaration
public DateTime InvitationAppointmentDoBy { get; }
Property Value
Type Description
DateTime

InvitationAppointmentId

Declaration
public int InvitationAppointmentId { get; }
Property Value
Type Description
int

Methods

ConvertToRecurrenceDateTime(DateTime)

Creates a new datetime using the date-component from date, and the time-components from the RecurrenceStartDate and RecurrenceEndDate of the InvitationRow of the subseries.

Declaration
public Tuple<DateTime, DateTime> ConvertToRecurrenceDateTime(DateTime date)
Parameters
Type Name Description
DateTime date
Returns
Type Description
Tuple<DateTime, DateTime>

CreateStartEndDateTimesForRecurrenceFirstDay(DateTime, DateTime)

Creates new start and end recurrence times, using the time-component from startTime and endTime.

Declaration
public Tuple<DateTime, DateTime> CreateStartEndDateTimesForRecurrenceFirstDay(DateTime startTime, DateTime endTime)
Parameters
Type Name Description
DateTime startTime
DateTime endTime
Returns
Type Description
Tuple<DateTime, DateTime>

GetAppointmentRecordData(int)

Declaration
public AppointmentRecordData GetAppointmentRecordData(int appointmentId)
Parameters
Type Name Description
int appointmentId
Returns
Type Description
AppointmentRecordData

GetDivergentAppointments()

Declaration
public List<AppointmentRecordData> GetDivergentAppointments()
Returns
Type Description
List<AppointmentRecordData>

GetNonDivergentAppointments()

Declaration
public List<AppointmentRecordData> GetNonDivergentAppointments()
Returns
Type Description
List<AppointmentRecordData>

IsDivergentInSeries(AppointmentRecordData)

Declaration
public bool IsDivergentInSeries(AppointmentRecordData appointmentRecord)
Parameters
Type Name Description
AppointmentRecordData appointmentRecord
Returns
Type Description
bool

IsDivergentInSeries(DateTime)

Declaration
public bool IsDivergentInSeries(DateTime doBy)
Parameters
Type Name Description
DateTime doBy
Returns
Type Description
bool

IsDivergentInSeries(int)

Declaration
public bool IsDivergentInSeries(int appointmentId)
Parameters
Type Name Description
int appointmentId
Returns
Type Description
bool

TryGetIndexOfAppointmentIdInSeries(int, out int)

Declaration
public bool TryGetIndexOfAppointmentIdInSeries(int appointmentId, out int index)
Parameters
Type Name Description
int appointmentId
int index
Returns
Type Description
bool

UpdateInvitationRootAppointmentIdAsync(int, CancellationToken)

Declaration
public Task UpdateInvitationRootAppointmentIdAsync(int appointmentId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int appointmentId
CancellationToken cancellationToken
Returns
Type Description
Task

UpdateRecurringStartDateAsync(DateTime, CancellationToken)

Declaration
public Task UpdateRecurringStartDateAsync(DateTime recurringStartDate, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DateTime recurringStartDate
CancellationToken cancellationToken
Returns
Type Description
Task

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top