コード例 #1
0
        public void Should_be_able_to_set_apply_format_in_editmode()
        {
            builder.ApplyFormatInEditMode();

            var configurator = (IModelMetadataItemConfigurator)builder;
            var item         = new ModelMetadataItem();

            configurator.Configure(item);
            Assert.True(item.ApplyFormatInEditMode);
        }
コード例 #2
0
        public void Should_be_able_to_set_apply_format_in_editmode()
        {
            builder.ApplyFormatInEditMode();

            Assert.True(item.ApplyFormatInEditMode);
        }