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,26 +1,26 @@
using System;
using System;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Web.Models
{
/// <summary>
/// Represents the model for the current Umbraco view.
/// </summary>
public class ContentModel : IContentModel
{
/// <summary>
/// Initializes a new instance of the <see cref="ContentModel"/> class with a content.
/// </summary>
/// <param name="content"></param>
public ContentModel(IPublishedContent content)
{
/// <summary>
/// Represents the model for the current Umbraco view.
/// </summary>
public class ContentModel : IContentModel
{
/// <summary>
/// Initializes a new instance of the <see cref="ContentModel"/> class with a content.
/// </summary>
/// <param name="content"></param>
public ContentModel(IPublishedContent content)
{
if (content == null) throw new ArgumentNullException(nameof(content));
Content = content;
}
Content = content;
}
/// <summary>
/// Gets the content.
/// </summary>
public IPublishedContent Content { get; }
}
}
/// <summary>
/// Gets the content.
/// </summary>
public IPublishedContent Content { get; }
}
}