C# 클래스 OurUmbraco.OutgoingDateTimeFormatAttribute

Sets the json outgoing/serialized datetime format
상속: System.Attribute, IControllerConfiguration
파일 보기 프로젝트 열기: umbraco/OurUmbraco

공개 메소드들

메소드 설명
Initialize ( System.Web.Http.Controllers.HttpControllerSettings controllerSettings, HttpControllerDescriptor controllerDescriptor ) : void
OutgoingDateTimeFormatAttribute ( ) : System

Will use the standard ISO format

OutgoingDateTimeFormatAttribute ( string format ) : System

Specify a custom format

메소드 상세

Initialize() 공개 메소드

public Initialize ( System.Web.Http.Controllers.HttpControllerSettings controllerSettings, HttpControllerDescriptor controllerDescriptor ) : void
controllerSettings System.Web.Http.Controllers.HttpControllerSettings
controllerDescriptor HttpControllerDescriptor
리턴 void

OutgoingDateTimeFormatAttribute() 공개 메소드

Will use the standard ISO format
public OutgoingDateTimeFormatAttribute ( ) : System
리턴 System

OutgoingDateTimeFormatAttribute() 공개 메소드

Specify a custom format
public OutgoingDateTimeFormatAttribute ( string format ) : System
format string
리턴 System