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

@@ -146,7 +146,7 @@ namespace Umbraco.Web.PublishedCache.NuCache
{
Node = this,
ContentTypeId = ContentType.Id,
DraftData = ((PublishedContent) Draft)?._contentData,
PublishedData = ((PublishedContent) Published)?._contentData
};

View File

@@ -69,8 +69,8 @@ namespace Umbraco.Web.PublishedCache.NuCache
{
EnsureProvider();
var member = _memberService.GetById(memberId);
return member == null
? null
return member == null
? null
: PublishedMember.Create(member, GetContentType(member.ContentTypeId), _previewDefault, _facadeAccessor);
});
}

View File

@@ -14,7 +14,7 @@ namespace Umbraco.Web.PublishedCache.NuCache.Navigable
// called by the conditional weak table -- must be public
// ReSharper disable EmptyConstructor
public NavigableContentType()
public NavigableContentType()
// ReSharper restore EmptyConstructor
{ }
@@ -34,16 +34,16 @@ namespace Umbraco.Web.PublishedCache.NuCache.Navigable
{
BuiltinProperties = new INavigableFieldType[]
{
new NavigablePropertyType("nodeName"),
new NavigablePropertyType("parentId"),
new NavigablePropertyType("nodeName"),
new NavigablePropertyType("parentId"),
new NavigablePropertyType("createDate", v => XmlConvert.ToString((DateTime)v, "yyyy-MM-ddTHH:mm:ss")),
new NavigablePropertyType("updateDate", v => XmlConvert.ToString((DateTime)v, "yyyy-MM-ddTHH:mm:ss")),
new NavigablePropertyType("isDoc", v => XmlConvert.ToString((bool)v)),
new NavigablePropertyType("sortOrder"),
new NavigablePropertyType("level"),
new NavigablePropertyType("templateId"),
new NavigablePropertyType("writerId"),
new NavigablePropertyType("creatorId"),
new NavigablePropertyType("updateDate", v => XmlConvert.ToString((DateTime)v, "yyyy-MM-ddTHH:mm:ss")),
new NavigablePropertyType("isDoc", v => XmlConvert.ToString((bool)v)),
new NavigablePropertyType("sortOrder"),
new NavigablePropertyType("level"),
new NavigablePropertyType("templateId"),
new NavigablePropertyType("writerId"),
new NavigablePropertyType("creatorId"),
new NavigablePropertyType("urlName"),
new NavigablePropertyType("isDraft", v => XmlConvert.ToString((bool)v))
};