C# 클래스 Worki.Web.Helpers.ModelHelper

파일 보기 프로젝트 열기: tah91/eworkyWebSite

공개 메소드들

메소드 설명
AbsoluteAction ( this url, string action, string controller, object routeValues ) : string
GetAuthData ( IMembershipService service, string key ) : AuthJson
GetAuthData ( this member ) : AuthJson
GetCalandarEvent ( this booking, System.Web.Mvc.UrlHelper url, bool showOffer = false ) : CalandarJson
GetDetailFullUrl ( this rental, System.Web.Mvc.UrlHelper urlHelper ) : string
GetDetailFullUrl ( this loc, System.Web.Mvc.UrlHelper urlHelper, string culture = null ) : string
GetErrors ( this dbException ) : string
GetJson ( this localisation, Controller controller ) : LocalisationJson
GetJson ( this localisation, Controller controller, SearchCriteria criteria ) : LocalisationJson
GetJson ( this offer ) : OfferJson
GetMetaData ( this provider, System.Web.Mvc.UrlHelper urlHelper ) : MetaData
GetNews ( int memberId, IEnumerable bookings, string>.Func linkFunction ) : List
GetNews ( int memberId, IEnumerable quotations, string>.Func linkFunction ) : List
GetOfferDropDown ( Offer offer, string>.Func urlMaker, OfferDropDownFilter filter = OfferDropDownFilter.None ) : DropDownModel

비공개 메소드들

메소드 설명
GetImageUrl ( string image ) : string

메소드 상세

AbsoluteAction() 공개 정적인 메소드

public static AbsoluteAction ( this url, string action, string controller, object routeValues ) : string
url this
action string
controller string
routeValues object
리턴 string

GetAuthData() 공개 정적인 메소드

public static GetAuthData ( IMembershipService service, string key ) : AuthJson
service IMembershipService
key string
리턴 AuthJson

GetAuthData() 공개 정적인 메소드

public static GetAuthData ( this member ) : AuthJson
member this
리턴 AuthJson

GetCalandarEvent() 공개 정적인 메소드

public static GetCalandarEvent ( this booking, System.Web.Mvc.UrlHelper url, bool showOffer = false ) : CalandarJson
booking this
url System.Web.Mvc.UrlHelper
showOffer bool
리턴 Worki.Data.Models.CalandarJson

GetDetailFullUrl() 공개 정적인 메소드

public static GetDetailFullUrl ( this rental, System.Web.Mvc.UrlHelper urlHelper ) : string
rental this
urlHelper System.Web.Mvc.UrlHelper
리턴 string

GetDetailFullUrl() 공개 정적인 메소드

public static GetDetailFullUrl ( this loc, System.Web.Mvc.UrlHelper urlHelper, string culture = null ) : string
loc this
urlHelper System.Web.Mvc.UrlHelper
culture string
리턴 string

GetErrors() 공개 정적인 메소드

public static GetErrors ( this dbException ) : string
dbException this
리턴 string

GetJson() 공개 정적인 메소드

public static GetJson ( this localisation, Controller controller ) : LocalisationJson
localisation this
controller Controller
리턴 LocalisationJson

GetJson() 공개 정적인 메소드

public static GetJson ( this localisation, Controller controller, SearchCriteria criteria ) : LocalisationJson
localisation this
controller Controller
criteria SearchCriteria
리턴 LocalisationJson

GetJson() 공개 정적인 메소드

public static GetJson ( this offer ) : OfferJson
offer this
리턴 OfferJson

GetMetaData() 공개 정적인 메소드

public static GetMetaData ( this provider, System.Web.Mvc.UrlHelper urlHelper ) : MetaData
provider this
urlHelper System.Web.Mvc.UrlHelper
리턴 Worki.Data.Models.MetaData

GetNews() 공개 정적인 메소드

public static GetNews ( int memberId, IEnumerable bookings, string>.Func linkFunction ) : List
memberId int
bookings IEnumerable
linkFunction string>.Func
리턴 List

GetNews() 공개 정적인 메소드

public static GetNews ( int memberId, IEnumerable quotations, string>.Func linkFunction ) : List
memberId int
quotations IEnumerable
linkFunction string>.Func
리턴 List

GetOfferDropDown() 공개 정적인 메소드

public static GetOfferDropDown ( Offer offer, string>.Func urlMaker, OfferDropDownFilter filter = OfferDropDownFilter.None ) : DropDownModel
offer Worki.Data.Models.Offer
urlMaker string>.Func
filter OfferDropDownFilter
리턴 DropDownModel