C# 클래스 web_calendar.Mappers.Mapper

파일 보기 프로젝트 열기: VasiliySobol/WebCalendar

공개 메소드들

메소드 설명
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