AspNet.Mvc.TypedRouting.Test.LinkGeneration.HtmlHelperExtensionsTest.TestMvcForm.TestMvcForm C# (CSharp) Method

TestMvcForm() public method

public TestMvcForm ( string routeName, object routeValues, FormMethod method, bool antiforgery, object htmlAttribues ) : System.IO
routeName string
routeValues object
method FormMethod
antiforgery bool
htmlAttribues object
return System.IO
            public TestMvcForm(string routeName, object routeValues, FormMethod method, bool? antiforgery, object htmlAttribues)
                : base(new ViewContext(), new HtmlTestEncoder())
            {
                this.RouteName = routeName;
                this.RouteValues = new RouteValueDictionary(routeValues);
                this.FormMethod = method;
                this.Antiforgery = antiforgery;
                this.HtmlAttributes = new RouteValueDictionary(htmlAttribues);
            }

Same methods

HtmlHelperExtensionsTest.TestMvcForm::TestMvcForm ( string actionName, string controllerName, object routeValues, FormMethod method, bool antiforgery, object htmlAttribues ) : System.IO
HtmlHelperExtensionsTest.TestMvcForm