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

@@ -21,4 +21,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<PublicAccessEntry, AccessDto>(src => src.UpdateDate, dto => dto.UpdateDate);
}
}
}
}

View File

@@ -1,4 +1,4 @@
using System.Collections.Concurrent;
using System.Collections.Concurrent;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Rdbms;
@@ -18,6 +18,6 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<AuditItem, LogDto>(src => src.AuditType, dto => dto.Header);
CacheMap<AuditItem, LogDto>(src => src.UserId, dto => dto.UserId);
CacheMap<AuditItem, LogDto>(src => src.CreateDate, dto => dto.Datestamp);
}
}
}
}
}

View File

@@ -68,4 +68,4 @@ namespace Umbraco.Core.Persistence.Mappers
return columnMap;
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="Content"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="Content"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(Content))]
@@ -42,4 +42,4 @@ namespace Umbraco.Core.Persistence.Mappers
//CacheMap<Content, DocumentDto>(src => src.Template, dto => dto.TemplateId);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="ContentType"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="ContentType"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(ContentType))]
@@ -38,4 +38,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<ContentType, ContentTypeDto>(src => src.Thumbnail, dto => dto.Thumbnail);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="DataTypeDefinition"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="DataTypeDefinition"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(DataTypeDefinition))]
@@ -33,4 +33,4 @@ namespace Umbraco.Core.Persistence.Mappers
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="DictionaryItem"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="DictionaryItem"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(DictionaryItem))]
@@ -24,4 +24,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<DictionaryItem, DictionaryDto>(src => src.ParentId, dto => dto.Parent);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="DictionaryTranslation"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="DictionaryTranslation"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(DictionaryTranslation))]
@@ -24,4 +24,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<DictionaryTranslation, LanguageTextDto>(src => src.Value, dto => dto.Value);
}
}
}
}

View File

@@ -20,4 +20,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<UmbracoDomain, DomainDto>(src => src.DomainName, dto => dto.DomainName);
}
}
}
}

View File

@@ -16,4 +16,4 @@ namespace Umbraco.Core.Persistence.Mappers
public Type Type { get; private set; }
public PropertyInfo PropertyInfo { get; private set; }
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="Language"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="Language"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(ILanguage))]
@@ -23,4 +23,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<Language, LanguageDto>(src => src.CultureName, dto => dto.CultureName);
}
}
}
}

View File

@@ -28,4 +28,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<Macro, MacroDto>(src => src.XsltPath, dto => dto.Xslt);
}
}
}
}

View File

@@ -8,7 +8,7 @@ namespace Umbraco.Core.Persistence.Mappers
{
public class MapperCollection : BuilderCollectionBase<BaseMapper>, IMapperCollection
{
public MapperCollection(IEnumerable<BaseMapper> items)
public MapperCollection(IEnumerable<BaseMapper> items)
: base(items)
{ }

View File

@@ -5,7 +5,7 @@ namespace Umbraco.Core.Persistence.Mappers
{
public class MapperCollectionBuilder : LazyCollectionBuilderBase<MapperCollectionBuilder, MapperCollection, BaseMapper>
{
public MapperCollectionBuilder(IServiceContainer container)
public MapperCollectionBuilder(IServiceContainer container)
: base(container)
{ }

View File

@@ -16,4 +16,4 @@ namespace Umbraco.Core.Persistence.Mappers
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="Models.Media"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="Models.Media"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(IMedia))]
@@ -35,4 +35,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<Models.Media, ContentVersionDto>(src => src.Version, dto => dto.VersionId);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="MediaType"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="MediaType"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(IMediaType))]
@@ -38,4 +38,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<MediaType, ContentTypeDto>(src => src.Thumbnail, dto => dto.Thumbnail);
}
}
}
}

View File

@@ -1,4 +1,4 @@
using System.Collections.Concurrent;
using System.Collections.Concurrent;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Rdbms;
@@ -21,4 +21,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<MemberGroup, NodeDto>(src => src.Key, dto => dto.UniqueId);
}
}
}
}

View File

@@ -6,7 +6,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="Member"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="Member"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(IMember))]
@@ -57,4 +57,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<Member, PropertyTypeDto>(src => src.PropertyTypeAlias, dto => dto.Alias);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="MemberType"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="MemberType"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof (MemberType))]
@@ -38,4 +38,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<MemberType, ContentTypeDto>(src => src.Thumbnail, dto => dto.Thumbnail);
}
}
}
}

View File

@@ -1,4 +1,4 @@
using System.Collections.Concurrent;
using System.Collections.Concurrent;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Rdbms;
@@ -14,11 +14,11 @@ namespace Umbraco.Core.Persistence.Mappers
protected override void BuildMap()
{
CacheMap<MigrationEntry, MigrationDto>(src => src.Id, dto => dto.Id);
CacheMap<MigrationEntry, MigrationDto>(src => src.Id, dto => dto.Id);
CacheMap<MigrationEntry, MigrationDto>(src => src.CreateDate, dto => dto.CreateDate);
CacheMap<MigrationEntry, MigrationDto>(src => src.UpdateDate, dto => dto.CreateDate);
CacheMap<MigrationEntry, MigrationDto>(src => src.Version, dto => dto.Version);
CacheMap<MigrationEntry, MigrationDto>(src => src.MigrationName, dto => dto.Name);
}
}
}
}

View File

@@ -28,4 +28,4 @@ namespace Umbraco.Core.Persistence.Mappers
return null;
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="PropertyGroup"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="PropertyGroup"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(PropertyGroup))]
@@ -23,4 +23,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<PropertyGroup, PropertyTypeGroupDto>(src => src.Name, dto => dto.Text);
}
}
}
}

View File

@@ -18,4 +18,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<Property, PropertyDataDto>(src => src.PropertyTypeId, dto => dto.PropertyTypeId);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="PropertyType"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="PropertyType"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(PropertyType))]
@@ -32,4 +32,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<PropertyType, DataTypeDto>(src => src.DataTypeDatabaseType, dto => dto.DbType);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="Relation"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="Relation"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(IRelation))]
@@ -26,4 +26,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<Relation, RelationDto>(src => src.RelationTypeId, dto => dto.RelationType);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="RelationType"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="RelationType"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(RelationType))]
@@ -26,4 +26,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<RelationType, RelationTypeDto>(src => src.ParentObjectType, dto => dto.ParentObjectType);
}
}
}
}

View File

@@ -23,4 +23,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<ServerRegistration, ServerRegistrationDto>(src => src.ServerIdentity, dto => dto.ServerIdentity);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="Tag"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="Tag"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(Tag))]

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="TaskType"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="TaskType"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(TaskType))]
@@ -21,4 +21,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<TaskType, TaskTypeDto>(src => src.Alias, dto => dto.Alias);
}
}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="Template"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="Template"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(Template))]

View File

@@ -25,4 +25,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<IUmbracoEntity, NodeDto>(src => src.CreatorId, dto => dto.UserId);
}
}
}
}

View File

@@ -48,4 +48,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<User, UserDto>(src => src.Language, dto => dto.UserLanguage);
}
}
}
}

View File

@@ -31,4 +31,4 @@ namespace Umbraco.Core.Persistence.Mappers
// #endregion
//}
}
}

View File

@@ -5,7 +5,7 @@ using Umbraco.Core.Models.Rdbms;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="UserType"/> to DTO mapper used to translate the properties of the public api
/// Represents a <see cref="UserType"/> to DTO mapper used to translate the properties of the public api
/// implementation to that of the database's DTO as sql: [tableName].[columnName].
/// </summary>
[MapperFor(typeof(IUserType))]
@@ -24,4 +24,4 @@ namespace Umbraco.Core.Persistence.Mappers
CacheMap<UserType, UserTypeDto>(src => src.Permissions, dto => dto.DefaultPermissions);
}
}
}
}