AttributeRouteModel Class¶
- Namespace
Microsoft.AspNetCore.Mvc.ApplicationModels- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Syntax¶
public class AttributeRouteModel
-
class
Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel
Constructors¶
-
AttributeRouteModel()¶ public AttributeRouteModel()
-
AttributeRouteModel(Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel) public AttributeRouteModel(AttributeRouteModel other)
-
AttributeRouteModel(Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider) public AttributeRouteModel(IRouteTemplateProvider templateProvider)
-
Properties¶
-
Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel.Attribute¶ Return type: Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider public IRouteTemplateProvider Attribute { get; }
-
Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel.IsAbsoluteTemplate¶ Return type: System.Boolean public bool IsAbsoluteTemplate { get; }
-
Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel.Name¶ Return type: System.String public string Name { get; set; }
-
Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel.Order¶ Return type: System.Nullable<System.Int32> public int ? Order { get; set; }
-
Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel.Template¶ Return type: System.String public string Template { get; set; }
-
Methods¶
-
CombineAttributeRouteModel(Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel, Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel)¶ Combines two
Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModelinstances and returns a newMicrosoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModelinstance with the result.Arguments: Return type: Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel
Returns: A new instance of
Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModelthat represents the combination of the twoMicrosoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModelinstances or <code>null</code> if both parameters are <code>null</code>.public static AttributeRouteModel CombineAttributeRouteModel(AttributeRouteModel left, AttributeRouteModel right)
-
ReplaceTokens(System.String, System.Collections.Generic.IDictionary<System.String, System.String>)¶ Return type: System.String public static string ReplaceTokens(string template, IDictionary<string, string> values)
-