The logical model for the 'PropertyGridPrimitive' view.
Inheritance: ViewModelBase
        public void ShouldTakeCollectionInConstructor()
        {
            var collection = PropertyModel.GetProperties(this, true);

            var viewModel = new PropertyGridPrimitiveViewModel(collection);
            viewModel.Properties.Count.ShouldBe(collection.Count);
        }
 public PropertyGridViewModel()
 {
     SingleCategoryPropertiesViewModel = new PropertyGridPrimitiveViewModel(singleCategoryProperties);
 }
 public CategoryProperties()
 {
     GridViewModel = new PropertyGridPrimitiveViewModel(Properties);
 }