SetOptions() public method

public SetOptions ( IPropertyMappingConfiguration mappingConfiguration ) : void
mappingConfiguration IPropertyMappingConfiguration
return void
 public void SetOptions(TaskMappingConfiguration mappingConfiguration)
 {
     MapBody                  = mappingConfiguration.MapBody;
     MapPriority              = mappingConfiguration.MapPriority;
     MapRecurringTasks        = mappingConfiguration.MapRecurringTasks;
     MapReminder              = mappingConfiguration.MapReminder;
     TaskCategory             = mappingConfiguration.TaskCategory;
     InvertTaskCategoryFilter = mappingConfiguration.InvertTaskCategoryFilter;
     _customPropertyMappingViewModel.SetOptions(mappingConfiguration);
 }
Beispiel #2
0
 public void SetOptions(EventMappingConfiguration mappingConfiguration)
 {
     CategoryShortcutKey       = mappingConfiguration.CategoryShortcutKey;
     CreateEventsInUtc         = mappingConfiguration.CreateEventsInUTC;
     UseIanaTz                 = mappingConfiguration.UseIanaTz;
     EventTz                   = mappingConfiguration.EventTz;
     IncludeHistoricalData     = mappingConfiguration.IncludeHistoricalData;
     UseGlobalAppointmendID    = mappingConfiguration.UseGlobalAppointmentID;
     EventCategory             = mappingConfiguration.EventCategory;
     EventCategoryColor        = mappingConfiguration.EventCategoryColor;
     InvertEventCategoryFilter = mappingConfiguration.InvertEventCategoryFilter;
     MapAttendees              = mappingConfiguration.MapAttendees;
     MapBody                   = mappingConfiguration.MapBody;
     MapClassConfidentialToSensitivityPrivate = mappingConfiguration.MapClassConfidentialToSensitivityPrivate;
     MapClassPublicToSensitivityPrivate       = mappingConfiguration.MapClassPublicToSensitivityPrivate;
     MapReminder = mappingConfiguration.MapReminder;
     MapSensitivityPrivateToClassConfidential = mappingConfiguration.MapSensitivityPrivateToClassConfidential;
     ScheduleAgentClient            = mappingConfiguration.ScheduleAgentClient;
     SendNoAppointmentNotifications = mappingConfiguration.SendNoAppointmentNotifications;
     UseEventCategoryColorAndMapFromCalendarColor = mappingConfiguration.UseEventCategoryColorAndMapFromCalendarColor;
     CleanupDuplicateEvents = mappingConfiguration.CleanupDuplicateEvents;
     _customPropertyMappingViewModel.SetOptions(mappingConfiguration);
 }