From ee7feedef5694ffc2aaff7b584df3d8c6f5d971c Mon Sep 17 00:00:00 2001 From: Florian Rappl Date: Mon, 6 Jul 2015 22:28:56 +0200 Subject: [PATCH] Remove pseudo CSSValue struct --- AngleSharp.Samples.App/ViewModels/CssRuleViewModel.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/AngleSharp.Samples.App/ViewModels/CssRuleViewModel.cs b/AngleSharp.Samples.App/ViewModels/CssRuleViewModel.cs index 66071ee..725b1bb 100644 --- a/AngleSharp.Samples.App/ViewModels/CssRuleViewModel.cs +++ b/AngleSharp.Samples.App/ViewModels/CssRuleViewModel.cs @@ -30,7 +30,7 @@ : this() { this.name = name; - this.typeName = "CSSProperty"; + this.typeName = "CssProperty"; this.children.Add(new CssRuleViewModel(value)); } @@ -93,13 +93,12 @@ } public CssRuleViewModel(String value) - : this(typeof(CSSValue)) + : this() { name = value; + typeName = "CssValue"; } - struct CSSValue { } - void Populate(ICssFontFaceRule font) { AddIfNotEmpty("Family", font.Family);