C# Class web_calendar.Mappers.Mapper

Afficher le fichier Open project: VasiliySobol/WebCalendar

Méthodes publiques

Méthode Description
MapToCalendarFromCalendarVM ( CalendarViewModel calendar ) : Calendar
MapToCalendarViewModel ( Calendar calendar ) : CalendarViewModel
MapToCreateEventVM ( CalendarEvent calendarEvent, ICollection notificationType, ICollection repeatable, List emails ) : CreateEventViewModel
MapToDisplayEventVM ( CalendarEvent calendarEvent ) : DisplayEventViewModel
MapToEvent ( CreateEventViewModel eventVM ) : CalendarEvent
MapToNotificationSettingsViewModel ( NotificationType notificationType ) : NotificationSettingsViewModel
MapToNotificationType ( NotificationSettingsViewModel notificationSettingsVM ) : NotificationType
MapToNotificationTypes ( CreateEventViewModel eventVM ) : ICollection
MapToRepeatable ( RepeatableSettingsViewModel repeatableSettingsVM ) : Repeatable
MapToRepeatableSettingsViewModel ( Repeatable repeatable ) : RepeatableSettingsViewModel
MapToRepeatables ( CreateEventViewModel eventVM ) : ICollection

Method Details

MapToCalendarFromCalendarVM() public static méthode

public static MapToCalendarFromCalendarVM ( CalendarViewModel calendar ) : Calendar
calendar web_calendar.Models.CalendarViewModel
Résultat ApplicationRepository.Models.Calendar

MapToCalendarViewModel() public static méthode

public static MapToCalendarViewModel ( Calendar calendar ) : CalendarViewModel
calendar ApplicationRepository.Models.Calendar
Résultat web_calendar.Models.CalendarViewModel

MapToCreateEventVM() public static méthode

public static MapToCreateEventVM ( CalendarEvent calendarEvent, ICollection notificationType, ICollection repeatable, List emails ) : CreateEventViewModel
calendarEvent ApplicationRepository.Models.CalendarEvent
notificationType ICollection
repeatable ICollection
emails List
Résultat web_calendar.Models.CreateEventViewModel

MapToDisplayEventVM() public static méthode

public static MapToDisplayEventVM ( CalendarEvent calendarEvent ) : DisplayEventViewModel
calendarEvent ApplicationRepository.Models.CalendarEvent
Résultat web_calendar.Models.DisplayEventViewModel

MapToEvent() public static méthode

public static MapToEvent ( CreateEventViewModel eventVM ) : CalendarEvent
eventVM web_calendar.Models.CreateEventViewModel
Résultat ApplicationRepository.Models.CalendarEvent

MapToNotificationSettingsViewModel() public static méthode

public static MapToNotificationSettingsViewModel ( NotificationType notificationType ) : NotificationSettingsViewModel
notificationType ApplicationRepository.Models.NotificationType
Résultat web_calendar.Models.NotificationSettingsViewModel

MapToNotificationType() public static méthode

public static MapToNotificationType ( NotificationSettingsViewModel notificationSettingsVM ) : NotificationType
notificationSettingsVM web_calendar.Models.NotificationSettingsViewModel
Résultat ApplicationRepository.Models.NotificationType

MapToNotificationTypes() public static méthode

public static MapToNotificationTypes ( CreateEventViewModel eventVM ) : ICollection
eventVM web_calendar.Models.CreateEventViewModel
Résultat ICollection

MapToRepeatable() public static méthode

public static MapToRepeatable ( RepeatableSettingsViewModel repeatableSettingsVM ) : Repeatable
repeatableSettingsVM web_calendar.Models.RepeatableSettingsViewModel
Résultat ApplicationRepository.Models.Repeatable

MapToRepeatableSettingsViewModel() public static méthode

public static MapToRepeatableSettingsViewModel ( Repeatable repeatable ) : RepeatableSettingsViewModel
repeatable ApplicationRepository.Models.Repeatable
Résultat web_calendar.Models.RepeatableSettingsViewModel

MapToRepeatables() public static méthode

public static MapToRepeatables ( CreateEventViewModel eventVM ) : ICollection
eventVM web_calendar.Models.CreateEventViewModel
Résultat ICollection