AttributeRouteModel Class¶
Constructors¶
-
Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.AttributeRouteModel()
public AttributeRouteModel()
-
AttributeRouteModel
(Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel)¶ Arguments: public AttributeRouteModel(AttributeRouteModel other)
-
AttributeRouteModel
(Microsoft.AspNet.Mvc.Routing.IRouteTemplateProvider) Arguments: - templateProvider (Microsoft.AspNet.Mvc.Routing.IRouteTemplateProvider) –
public AttributeRouteModel(IRouteTemplateProvider templateProvider)
-
Properties¶
-
Attribute
()¶ Return type: Microsoft.AspNet.Mvc.Routing.IRouteTemplateProvider public IRouteTemplateProvider Attribute { get; }
-
IsAbsoluteTemplate
()¶ Return type: System.Boolean public bool IsAbsoluteTemplate { get; }
-
Name
()¶ Return type: System.String public string Name { get; set; }
-
Order
()¶ Return type: System.Nullable{System.Int32} public int ? Order { get; set; }
-
Template
()¶ Return type: System.String public string Template { get; set; }
-
Methods¶
-
CombineAttributeRouteModel
(Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel, Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel)¶ Combines two [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml) instances and returns a new [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml) instance with the result.
Arguments: - left (Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel) – The left [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml).
- right (Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel) – The right [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml).
Return type: Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel
Returns: A new instance of [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml) that represents the combination of the two [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml) instances or <c>null</c> if both parameters are <c>null</c>.
public static AttributeRouteModel CombineAttributeRouteModel(AttributeRouteModel left, AttributeRouteModel right)
-
ReplaceTokens
(System.String, System.Collections.Generic.IDictionary<System.String, System.Object>)¶ Arguments: - template (System.String) –
- values (System.Collections.Generic.IDictionary{System.String,System.Object}) –
Return type: System.String
public static string ReplaceTokens(string template, IDictionary<string, object> values)
-