Show / Hide Table of Contents

Class NextAvailableTimeHelper

NextAvailableTimeHelper for identifying non-conflicting times for all associates in an appointment

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

Constructors

NextAvailableTimeHelper(int[], DateTime, DateTime, int, bool)

NextAvailableTimeHelper for identifying non-conflicting times for all associates in an appointment

Declaration
public NextAvailableTimeHelper(int[] associates, DateTime startTime, DateTime endTime, int count, bool isAllDayEvent)
Parameters
Type Name Description
int[] associates
DateTime startTime
DateTime endTime
int count
bool isAllDayEvent

Methods

GetAppointmentTimeTypeAsync(CancellationToken)

Obtain type (i.e. NextAvailableTimeHelper.AppointmentTimeType) of appointment.

Declaration
public Task<NextAvailableTimeHelper.AppointmentTimeType> GetAppointmentTimeTypeAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<NextAvailableTimeHelper.AppointmentTimeType>

Type of appointment.

GetItemsAsync(CancellationToken)

NextAvailableTimeHelper for identifying non-conflicting times for all associates in an appointment

Declaration
public Task<NextAvailableTimeInfo[]> GetItemsAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<NextAvailableTimeInfo[]>

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