Normalize cr/lf/tab

This commit is contained in:
Stephan
2017-07-20 11:21:28 +02:00
parent fa6c147a65
commit c76403077f
2466 changed files with 26012 additions and 26010 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
@@ -23,7 +23,7 @@ namespace Umbraco.Core.Models
public PropertyInfo PropertyInfo { get; private set; }
public bool IsDeepCloneable { get; set; }
public Type GenericListType { get; set; }
public Type GenericListType { get; set; }
public bool IsList
{
get { return GenericListType != null; }
@@ -40,7 +40,7 @@ namespace Umbraco.Core.Models
/// </summary>
/// <param name="input"></param>
/// <param name="output"></param>
/// <returns></returns>
/// <returns></returns>
public static void DeepCloneRefProperties(IDeepCloneable input, IDeepCloneable output)
{
var inputType = input.GetType();
@@ -68,7 +68,7 @@ namespace Umbraco.Core.Models
{
return null;
}
if (TypeHelper.IsTypeAssignableFrom<IDeepCloneable>(propertyInfo.PropertyType))
{
@@ -157,7 +157,7 @@ namespace Umbraco.Core.Models
}
else if (o is string || o.GetType().IsValueType)
{
//check if the item is a value type or a string, then we can just use it
//check if the item is a value type or a string, then we can just use it
newList.Add(o);
}
else
@@ -197,4 +197,4 @@ namespace Umbraco.Core.Models
}
}
}
}