Class MasterDataFormTagHelper
- Namespace
- JJMasterData.Web.TagHelpers
- Assembly
- JJMasterData.Web.dll
public class MasterDataFormTagHelper : FormTagHelper, ITagHelper, ITagHelperComponent
- Inheritance
-
MasterDataFormTagHelper
- Implements
- Inherited Members
Constructors
MasterDataFormTagHelper(IHtmlGenerator)
public MasterDataFormTagHelper(IHtmlGenerator generator)
Parameters
generator
IHtmlGenerator
Properties
AspMvcAction
[HtmlAttributeName("asp-action")]
[AspMvcAction]
public string AspMvcAction { get; set; }
Property Value
AspMvcArea
[HtmlAttributeName("asp-area")]
[AspMvcArea]
public string AspMvcArea { get; set; }
Property Value
AspMvcController
[HtmlAttributeName("asp-controller")]
[AspMvcController]
public string AspMvcController { get; set; }
Property Value
Methods
Process(TagHelperContext, TagHelperOutput)
Synchronously executes the TagHelper with the given context
and
output
.
public override void Process(TagHelperContext context, TagHelperOutput output)
Parameters
context
TagHelperContextContains information associated with the current HTML tag.
output
TagHelperOutputA stateful HTML element used to generate an HTML tag.
Remarks
Does nothing if user provides an action
attribute and Antiforgery is null
or
false
.
Exceptions
- InvalidOperationException
Thrown if
action
attribute is provided and Action, Controller or Fragment are non-null
or if the user providedasp-route-*
attributes.