C# 클래스 URSA.Web.Mapping.FromUrlAttribute

Marks the parameter to be bound to the URL.
상속: ParameterSourceAttribute, IUrlTemplateParameterSourceAttribute
파일 보기 프로젝트 열기: alien-mcl/URSA 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Default string

Private Properties

프로퍼티 타입 설명
FromUrlAttribute System
IUrlTemplateParameterSourceAttribute ParameterSourceAttribute
ToString string

공개 메소드들

메소드 설명
For ( ParameterInfo parameter ) : FromUrlAttribute

Creates an instance of the FromUrlAttribute for given parameter .

FromUrlAttribute ( string url ) : System

Initializes a new instance of the FromUrlAttribute class.

비공개 메소드들

메소드 설명
FromUrlAttribute ( ) : System
IUrlTemplateParameterSourceAttribute ( ParameterInfo parameter ) : ParameterSourceAttribute
ToString ( ) : string

메소드 상세

For() 공개 정적인 메소드

Creates an instance of the FromUrlAttribute for given parameter .
public static For ( ParameterInfo parameter ) : FromUrlAttribute
parameter System.Reflection.ParameterInfo Parameter for which the attribute needs to be created.
리턴 FromUrlAttribute

FromUrlAttribute() 공개 메소드

Initializes a new instance of the FromUrlAttribute class.
public FromUrlAttribute ( string url ) : System
url string Template of the URL for this parameter mapping.
리턴 System

프로퍼티 상세

Default 공개적으로 정적으로 프로퍼티

Defines a default URL pattern.
public static string Default
리턴 string