Exemple #1
0
        public void then_element_extended_property_provider_can_be_found()
        {
            ElementLookup lookup             = (ElementLookup)Container.Resolve <ElementLookup>();
            var           extensionProviders = lookup.FindExtendedPropertyProviders();

            Assert.IsTrue(extensionProviders.Count() > 0);
        }
Exemple #2
0
            public ExtendedPropertyContainer(ElementLookup lookup, ElementViewModel subject,
                                             ObservableCollection <Property> properties)
            {
                this.properties           = properties;
                this.subject              = subject;
                extendedPropetryProviders = lookup.FindExtendedPropertyProviders();
                extendedPropetryProviders.CollectionChanged += extendedPropetryProviders_CollectionChanged;

                Refresh();
            }