public BootstrapModel() { NotRequiredNullableValue = 45877; RequiredValue = 102055454454; NotRequired = "NotRequired"; Required = "Required"; Date = DateTime.Now; NotEditable = "Not"; EditableFalse = "F"; EditableTrue = "T"; Number = 10.7854M; Relation = new BootstrapModel(true) { Date = new DateTime(2011, 01, 01, 1, 1, 1), NotRequired = "NotRequiredRelation", NotRequiredNullableValue = 5411, Required = "RequiredRelation", RequiredValue = 102055454422, NotEditable = "NotRelation", EditableFalse = "FRelation", EditableTrue = "TRelation", Number = 1.6666M }; }
public void SetUp() { model = new BootstrapModel(); html = HtmlHelperFactory.CreateHtmlHelper(model); expression = (expModel) => expModel.Relation.Required; GlobalizationManager.Provider = GlobalizationProviderFactory.CreateProvider(); }
public void SetUp() { model = new BootstrapModel(); html = HtmlHelperFactory.CreateHtmlHelper(model); GlobalizationManager.Provider = GlobalizationProviderFactory.CreateProvider(); htmlStringBuilder = (html.ViewContext.Writer as StringWriter).GetStringBuilder(); }
public BootstrapModel() { NotRequired = "NotRequired"; Required = "Required"; EditableFalse = 1.4M; EditableTrue = 5.5M; Date = DateTime.Now; Number = 10.7854M; Relation = new BootstrapModel(true) { Date = new DateTime(2011, 3, 5, 8, 6, 4), NotRequired = "NotRequiredRelation", Required = "RequiredRelation", EditableFalse = 14.57M, EditableTrue = 8.4M, Number = 1.6666M }; }
public BootstrapModel() { NotRequired = "NotRequired"; Required = "Required"; Date = DateTime.Now; NotReadOnly = "Not"; ReadOnlyFalse = "F"; ReadOnlyTrue = "T"; Number = 10.7854M; Relation = new BootstrapModel(true) { Date = new DateTime(2011, 01, 01, 1, 1, 1), NotRequired = "NotRequiredRelation", Required = "RequiredRelation", NotReadOnly = "NotRelation", ReadOnlyFalse = "FRelation", ReadOnlyTrue = "TRelation", Number = 1.6666M, }; }
public void TestFixtureSetUp() { model = new BootstrapModel(); html = HtmlHelperFactory.CreateHtmlHelper(model); GlobalizationManager.Provider = GlobalizationProviderFactory.CreateProvider(); }
public BootstrapExtensionsTests() { GlobalizationManager.Provider = GlobalizationProviderFactory.CreateProvider(); html = HtmlHelperFactory.CreateHtmlHelper(new BootstrapModel()); model = html.ViewData.Model; }
public BootstrapExtensionsTests() { html = HtmlHelperFactory.CreateHtmlHelper(new BootstrapModel()); model = html.ViewData.Model; }