RuleEditorBuilder class

Namespace: CodeEffects.Rule.Mvc
Assembly: CodeEffects.Rule.dll

The RuleEditorBuilder class provides a way to instantiate the RuleEditor class using the popular "dotted" notation.

Example

@{
	ViewBag.Title = "MVC View Example";
 
	Html.CodeEffects().Styles()
		.SetTheme(ThemeType.Blue)
		.Render();	
}
 
@using (Html.BeginForm("Evaluate""Test"FormMethod.Post))
{
	<div>
		@{
			Html.CodeEffects().RuleEditor()
				.Id("ruleEditor")
				.SaveAction("Save""Test")
				.DeleteAction("Delete""Test")
				.LoadAction("Load""Test")
				.Mode(RuleType.Execution)
				.Rule(ViewBag.Rule)
				.Render();
		}
	</div>
}
 
@{
	Html.CodeEffects().Scripts().Render();
}
Post your support requests on Stackoverflow.com. You can also post your comments and product feedback using the form at the bottom of this page.
Comments: 0
Name (optional):
Comment (URLs are allowed and must start with http:// or https://; all tags will be encoded):
Remaining character count: