C# Class CalDavSynchronizer.Implementation.Events.DuplicateEventCleaner

Inheritance: IEventSynchronizationContext
Mostra file Open project: aluxnimm/outlookcaldavsynchronizer

Public Methods

Method Description
AnnounceAppointment ( AppointmentItem appointment ) : void
AnnounceAppointmentDeleted ( AppointmentId id ) : void
DeleteAnnouncedEventsIfDuplicates ( Predicate canBeDeleted ) : Task>
DuplicateEventCleaner ( OutlookEventRepository outlookRepository, IEntityRepository btypeRepository, IEntityRelationDataAccess entityRelationDataAccess, IEqualityComparer idComparer ) : System
NotifySynchronizationFinished ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
DeleteAppointment ( CalDavSynchronizer.Implementation.ComWrappers.AppointmentItemWrapper item, Dictionary relations ) : System.Threading.Tasks.Task
DeleteDuplicates ( ) : System.Threading.Tasks.Task
GetAppointmentIdsWithIdenticalHashCode ( ) : AppointmentId[][]
GetAppointments ( AppointmentId ids ) : Task
GetAppointmentsWithId ( AppointmentId ids ) : AppointmentItemWrapper>[]>.Task
GetDuplicationRelevantData ( AppointmentItem item ) : Tuple
GetHashCode ( AppointmentItem item ) : int
GetOrNull ( AppointmentId id ) : Task

Method Details

AnnounceAppointment() public method

public AnnounceAppointment ( AppointmentItem appointment ) : void
appointment AppointmentItem
return void

AnnounceAppointmentDeleted() public method

public AnnounceAppointmentDeleted ( AppointmentId id ) : void
id AppointmentId
return void

DeleteAnnouncedEventsIfDuplicates() public method

public DeleteAnnouncedEventsIfDuplicates ( Predicate canBeDeleted ) : Task>
canBeDeleted Predicate
return Task>

DuplicateEventCleaner() public method

public DuplicateEventCleaner ( OutlookEventRepository outlookRepository, IEntityRepository btypeRepository, IEntityRelationDataAccess entityRelationDataAccess, IEqualityComparer idComparer ) : System
outlookRepository OutlookEventRepository
btypeRepository IEntityRepository
entityRelationDataAccess IEntityRelationDataAccess
idComparer IEqualityComparer
return System

NotifySynchronizationFinished() public method

public NotifySynchronizationFinished ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task