Skip to content

Commit

Permalink
Just some code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Sep 17, 2016
1 parent e404ae4 commit 2e52bdf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/Skybrud.Umbraco.GridData/GridPropertyValueConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
}

Expand Down

0 comments on commit 2e52bdf

Please sign in to comment.