Пример #1
0
        protected override void Act()
        {
            DummySection dummySectionBeforeChange = (DummySection)MainSource.GetSection(SectionInChildSource1);

            ChildSource1.Remove(SectionInChildSource1);
            ChildSource1.Add(SectionInChildSource1, new DummySection {
                Name = "new name", Value = 16
            });
            ChildSource1.DoSourceChanged(new[] { SectionInChildSource1 });
        }
Пример #2
0
 protected override void Act()
 {
     ChildSource1.DoSourceChanged(new [] { "section1" });
 }