Exemplo n.º 1
0
        protected override void Act()
        {
            var sectionModel = SectionViewModel.CreateSection(Container, "mock section", SectionWithSimpleProperties);

            configurationElement = (ConfigurationElementWithSimpleProperties)sectionModel.ConfigurationElement;
            properties           = sectionModel.Properties.OfType <ElementProperty>();
        }
Exemplo n.º 2
0
        protected override void Arrange()
        {
            base.Arrange();

            SectionWithSimpleProperties = new ConfigurationElementWithSimpleProperties();
        }
        protected override void Arrange()
        {
            base.Arrange();

            SectionWithSimpleProperties = new ConfigurationElementWithSimpleProperties();
        }
        protected override void Act()
        {
            var sectionModel = SectionViewModel.CreateSection(Container, "mock section", SectionWithSimpleProperties);

            configurationElement = (ConfigurationElementWithSimpleProperties)sectionModel.ConfigurationElement;
            properties = sectionModel.Properties.OfType<ElementProperty>();
        }