From 2e52bdfe66e963a0ebc4040eb3ffc79045bc4c81 Mon Sep 17 00:00:00 2001 From: Anders Bjerner Date: Sat, 17 Sep 2016 15:52:57 +0200 Subject: [PATCH] Just some code formatting --- .../GridPropertyValueConverter.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Skybrud.Umbraco.GridData/GridPropertyValueConverter.cs b/src/Skybrud.Umbraco.GridData/GridPropertyValueConverter.cs index 9e3f305..965da82 100644 --- a/src/Skybrud.Umbraco.GridData/GridPropertyValueConverter.cs +++ b/src/Skybrud.Umbraco.GridData/GridPropertyValueConverter.cs @@ -36,12 +36,9 @@ public object ConvertSourceToXPath(PublishedPropertyType propertyType, object so return null; } - public PropertyCacheLevel GetPropertyCacheLevel(PublishedPropertyType propertyType, - PropertyCacheValue cacheValue) - { + public PropertyCacheLevel GetPropertyCacheLevel(PublishedPropertyType propertyType, PropertyCacheValue cacheValue) { PropertyCacheLevel propertyCacheLevel; - switch (cacheValue) - { + switch (cacheValue) { case PropertyCacheValue.Source: propertyCacheLevel = PropertyCacheLevel.Content; break; @@ -58,8 +55,7 @@ public PropertyCacheLevel GetPropertyCacheLevel(PublishedPropertyType propertyTy return propertyCacheLevel; } - public virtual Type GetPropertyValueType(PublishedPropertyType propertyType) - { + public virtual Type GetPropertyValueType(PublishedPropertyType propertyType) { return typeof(GridDataModel); }