コード例 #1
0
        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
            };
        }
コード例 #2
0
        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
            };
        }
コード例 #3
0
 public void SetUp()
 {
     model      = new BootstrapModel();
     html       = HtmlHelperFactory.CreateHtmlHelper(model);
     expression = (expModel) => expModel.Relation.Required;
     GlobalizationManager.Provider = GlobalizationProviderFactory.CreateProvider();
 }
コード例 #4
0
 public void SetUp()
 {
     model = new BootstrapModel();
     html  = HtmlHelperFactory.CreateHtmlHelper(model);
     GlobalizationManager.Provider = GlobalizationProviderFactory.CreateProvider();
     htmlStringBuilder             = (html.ViewContext.Writer as StringWriter).GetStringBuilder();
 }
コード例 #5
0
        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
            };
        }
コード例 #6
0
        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
            };
        }
コード例 #7
0
        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,
            };
        }
コード例 #8
0
 public void TestFixtureSetUp()
 {
     model = new BootstrapModel();
     html  = HtmlHelperFactory.CreateHtmlHelper(model);
     GlobalizationManager.Provider = GlobalizationProviderFactory.CreateProvider();
 }
コード例 #9
0
 public BootstrapExtensionsTests()
 {
     GlobalizationManager.Provider = GlobalizationProviderFactory.CreateProvider();
     html = HtmlHelperFactory.CreateHtmlHelper(new BootstrapModel());
     model = html.ViewData.Model;
 }
コード例 #10
0
 public BootstrapExtensionsTests()
 {
     html  = HtmlHelperFactory.CreateHtmlHelper(new BootstrapModel());
     model = html.ViewData.Model;
 }
コード例 #11
0
 public BootstrapExtensionsTests()
 {
     html = HtmlHelperFactory.CreateHtmlHelper(new BootstrapModel());
     model = html.ViewData.Model;
 }
コード例 #12
0
 public BootstrapExtensionsTests()
 {
     GlobalizationManager.Provider = GlobalizationProviderFactory.CreateProvider();
     html  = HtmlHelperFactory.CreateHtmlHelper(new BootstrapModel());
     model = html.ViewData.Model;
 }