C# Класс web_calendar.Mappers.Mapper

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

MapToCalendarFromCalendarVM() публичный статический Метод

public static MapToCalendarFromCalendarVM ( CalendarViewModel calendar ) : Calendar
calendar web_calendar.Models.CalendarViewModel
Результат ApplicationRepository.Models.Calendar

MapToCalendarViewModel() публичный статический Метод

public static MapToCalendarViewModel ( Calendar calendar ) : CalendarViewModel
calendar ApplicationRepository.Models.Calendar
Результат web_calendar.Models.CalendarViewModel

MapToCreateEventVM() публичный статический Метод

public static MapToCreateEventVM ( CalendarEvent calendarEvent, ICollection notificationType, ICollection repeatable, List emails ) : CreateEventViewModel
calendarEvent ApplicationRepository.Models.CalendarEvent
notificationType ICollection
repeatable ICollection
emails List
Результат web_calendar.Models.CreateEventViewModel

MapToDisplayEventVM() публичный статический Метод

public static MapToDisplayEventVM ( CalendarEvent calendarEvent ) : DisplayEventViewModel
calendarEvent ApplicationRepository.Models.CalendarEvent
Результат web_calendar.Models.DisplayEventViewModel

MapToEvent() публичный статический Метод

public static MapToEvent ( CreateEventViewModel eventVM ) : CalendarEvent
eventVM web_calendar.Models.CreateEventViewModel
Результат ApplicationRepository.Models.CalendarEvent

MapToNotificationSettingsViewModel() публичный статический Метод

public static MapToNotificationSettingsViewModel ( NotificationType notificationType ) : NotificationSettingsViewModel
notificationType ApplicationRepository.Models.NotificationType
Результат web_calendar.Models.NotificationSettingsViewModel

MapToNotificationType() публичный статический Метод

public static MapToNotificationType ( NotificationSettingsViewModel notificationSettingsVM ) : NotificationType
notificationSettingsVM web_calendar.Models.NotificationSettingsViewModel
Результат ApplicationRepository.Models.NotificationType

MapToNotificationTypes() публичный статический Метод

public static MapToNotificationTypes ( CreateEventViewModel eventVM ) : ICollection
eventVM web_calendar.Models.CreateEventViewModel
Результат ICollection

MapToRepeatable() публичный статический Метод

public static MapToRepeatable ( RepeatableSettingsViewModel repeatableSettingsVM ) : Repeatable
repeatableSettingsVM web_calendar.Models.RepeatableSettingsViewModel
Результат ApplicationRepository.Models.Repeatable

MapToRepeatableSettingsViewModel() публичный статический Метод

public static MapToRepeatableSettingsViewModel ( Repeatable repeatable ) : RepeatableSettingsViewModel
repeatable ApplicationRepository.Models.Repeatable
Результат web_calendar.Models.RepeatableSettingsViewModel

MapToRepeatables() публичный статический Метод

public static MapToRepeatables ( CreateEventViewModel eventVM ) : ICollection
eventVM web_calendar.Models.CreateEventViewModel
Результат ICollection