KestrunHost.AddFormPartRule method
Adds a form part rule for the specified name.
public bool AddFormPartRule(KrFormPartRule ruleOptions)
| parameter | description |
|---|---|
| ruleOptions | The form part rule to add. |
Return Value
True if the rule was added successfully; otherwise, false.
See Also
- class KrFormPartRule
- class KestrunHost
- namespace Kestrun.Hosting