C# Class URSA.Web.Mapping.FromUrlAttribute

Marks the parameter to be bound to the URL.
Inheritance: ParameterSourceAttribute, IUrlTemplateParameterSourceAttribute
Afficher le fichier Open project: alien-mcl/URSA Class Usage Examples

Méthodes publiques

Свойство Type Description
Default string

Private Properties

Свойство Type Description
FromUrlAttribute System
IUrlTemplateParameterSourceAttribute ParameterSourceAttribute
ToString string

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
FromUrlAttribute ( ) : System
IUrlTemplateParameterSourceAttribute ( ParameterInfo parameter ) : ParameterSourceAttribute
ToString ( ) : string

Method Details

For() public static méthode

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.
Résultat FromUrlAttribute

FromUrlAttribute() public méthode

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

Property Details

Default public_oe static_oe property

Defines a default URL pattern.
public static string Default
Résultat string