C# Class CalDavSynchronizerTestAutomation.Infrastructure.OutlookTestContext

Afficher le fichier Open project: aluxnimm/outlookcaldavsynchronizer Class Usage Examples

Méthodes publiques

Méthode Description
CreateEventInOutlook ( string subject, System.DateTime start, System.DateTime end ) : string
CreateEventSynchronizer ( SynchronizationMode mode, ICalDavDataAccess calDavDataAccess, IEntityRelationDataAccess entityRelationDataAccess = null, Action optionsModifier = null ) : IOutlookSynchronizer
CreateNewAppointment ( ) : CalDavSynchronizer.Implementation.ComWrappers.AppointmentItemWrapper
CreateRecurringEventInOutlook ( ) : AppointmentId
DeleteAllOutlookEvents ( ) : void
DeserializeICalendar ( string iCalData ) : IICalendar
GetAllOutlookEvents ( ) : IEnumerable>
GetOutlookEvent ( AppointmentId id ) : CalDavSynchronizer.Implementation.ComWrappers.AppointmentItemWrapper
Initialize ( NameSpace mapiNameSpace ) : void
SerializeICalendar ( IICalendar calendar ) : string
SyncCalDavToOutlook ( string eventData, IEntityRelationDataAccess entityRelationDataAccess ) : void
SyncCalDavToOutlookAndBackToCalDav ( string eventData ) : string
SyncOutlookToCalDav_CalDavIsEmpty ( IEntityRelationDataAccess entityRelationDataAccess = null, Action optionsModifier = null ) : List
SyncOutlookToCalDav_EventsExistsInCalDav ( string existingEventData, AppointmentId existingAppointmentId ) : string
SyncOutlookToCalDav_EventsExistsInCalDav ( string existingEventData, IEntityRelationDataAccess entityRelationDataAccess = null ) : string
WaitForTask ( System.Threading.Tasks.Task task ) : void Task.Wait() resp. Task.Result cannot be used, because it will deadlock! Note: In some cases, this might lead to a deadlock: Your call to Result blocks the main thread, thereby preventing the remainder of the async code to execute. (see http://stackoverflow.com/questions/22628087/calling-async-method-synchronously)

Private Methods

Méthode Description
CreateFolderWrapper ( ) : GenericComObjectWrapper

Method Details

CreateEventInOutlook() public static méthode

public static CreateEventInOutlook ( string subject, System.DateTime start, System.DateTime end ) : string
subject string
start System.DateTime
end System.DateTime
Résultat string

CreateEventSynchronizer() public static méthode

public static CreateEventSynchronizer ( SynchronizationMode mode, ICalDavDataAccess calDavDataAccess, IEntityRelationDataAccess entityRelationDataAccess = null, Action optionsModifier = null ) : IOutlookSynchronizer
mode SynchronizationMode
calDavDataAccess ICalDavDataAccess
entityRelationDataAccess IEntityRelationDataAccess
optionsModifier Action
Résultat IOutlookSynchronizer

CreateNewAppointment() public static méthode

public static CreateNewAppointment ( ) : CalDavSynchronizer.Implementation.ComWrappers.AppointmentItemWrapper
Résultat CalDavSynchronizer.Implementation.ComWrappers.AppointmentItemWrapper

CreateRecurringEventInOutlook() public static méthode

public static CreateRecurringEventInOutlook ( ) : AppointmentId
Résultat AppointmentId

DeleteAllOutlookEvents() public static méthode

public static DeleteAllOutlookEvents ( ) : void
Résultat void

DeserializeICalendar() public static méthode

public static DeserializeICalendar ( string iCalData ) : IICalendar
iCalData string
Résultat IICalendar

GetAllOutlookEvents() public static méthode

public static GetAllOutlookEvents ( ) : IEnumerable>
Résultat IEnumerable>

GetOutlookEvent() public static méthode

public static GetOutlookEvent ( AppointmentId id ) : CalDavSynchronizer.Implementation.ComWrappers.AppointmentItemWrapper
id AppointmentId
Résultat CalDavSynchronizer.Implementation.ComWrappers.AppointmentItemWrapper

Initialize() public static méthode

public static Initialize ( NameSpace mapiNameSpace ) : void
mapiNameSpace NameSpace
Résultat void

SerializeICalendar() public static méthode

public static SerializeICalendar ( IICalendar calendar ) : string
calendar IICalendar
Résultat string

SyncCalDavToOutlook() public static méthode

public static SyncCalDavToOutlook ( string eventData, IEntityRelationDataAccess entityRelationDataAccess ) : void
eventData string
entityRelationDataAccess IEntityRelationDataAccess
Résultat void

SyncCalDavToOutlookAndBackToCalDav() public static méthode

public static SyncCalDavToOutlookAndBackToCalDav ( string eventData ) : string
eventData string
Résultat string

SyncOutlookToCalDav_CalDavIsEmpty() public static méthode

public static SyncOutlookToCalDav_CalDavIsEmpty ( IEntityRelationDataAccess entityRelationDataAccess = null, Action optionsModifier = null ) : List
entityRelationDataAccess IEntityRelationDataAccess
optionsModifier Action
Résultat List

SyncOutlookToCalDav_EventsExistsInCalDav() public static méthode

public static SyncOutlookToCalDav_EventsExistsInCalDav ( string existingEventData, AppointmentId existingAppointmentId ) : string
existingEventData string
existingAppointmentId AppointmentId
Résultat string

SyncOutlookToCalDav_EventsExistsInCalDav() public static méthode

public static SyncOutlookToCalDav_EventsExistsInCalDav ( string existingEventData, IEntityRelationDataAccess entityRelationDataAccess = null ) : string
existingEventData string
entityRelationDataAccess IEntityRelationDataAccess
Résultat string

WaitForTask() public static méthode

Task.Wait() resp. Task.Result cannot be used, because it will deadlock! Note: In some cases, this might lead to a deadlock: Your call to Result blocks the main thread, thereby preventing the remainder of the async code to execute. (see http://stackoverflow.com/questions/22628087/calling-async-method-synchronously)
public static WaitForTask ( System.Threading.Tasks.Task task ) : void
task System.Threading.Tasks.Task
Résultat void