U4-4618 - public PublishedContentModel & Factory

This commit is contained in:
Stephan
2014-04-21 14:11:55 +02:00
parent 82c1c95e35
commit 57f06ba447
6 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
/// <summary>
/// Provides the model creation service.
/// </summary>
internal interface IPublishedContentModelFactory
public interface IPublishedContentModelFactory
{
/// <summary>
/// Creates a strongly-typed model representing a published content.

View File

@@ -10,7 +10,7 @@ namespace Umbraco.Core.Models.PublishedContent
/// </summary>
/// <remarks>Every strongly-typed published content class should inherit from <c>PublishedContentModel</c>
/// (or inherit from a class that inherits from... etc.) so they are picked by the factory.</remarks>
internal abstract class PublishedContentModel : PublishedContentExtended
public abstract class PublishedContentModel : PublishedContentExtended
{
/// <summary>
/// Initializes a new instance of the <see cref="PublishedContentModel"/> class with

View File

@@ -8,7 +8,7 @@ namespace Umbraco.Core.Models.PublishedContent
/// <remarks>By default, the name of the class is assumed to be the content type alias. The
/// <c>PublishedContentModelAttribute</c> can be used to indicate a different alias.</remarks>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
internal sealed class PublishedContentModelAttribute : Attribute
public sealed class PublishedContentModelAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="PublishedContentModelAttribute"/> class with a content type alias.

View File

@@ -3,7 +3,7 @@
/// <summary>
/// Provides strongly typed published content models services.
/// </summary>
internal static class PublishedContentModelFactory
public static class PublishedContentModelFactory
{
/// <summary>
/// Creates a strongly typed published content model for an internal published content.

View File

@@ -7,7 +7,7 @@ namespace Umbraco.Core.Models.PublishedContent
/// <summary>
/// Implements a strongly typed content model factory
/// </summary>
internal class PublishedContentModelFactoryImpl : IPublishedContentModelFactory
public class PublishedContentModelFactoryImpl : IPublishedContentModelFactory
{
//private readonly Dictionary<string, ConstructorInfo> _constructors
// = new Dictionary<string, ConstructorInfo>();

View File

@@ -5,7 +5,7 @@ namespace Umbraco.Core.Models.PublishedContent
/// <summary>
/// Resolves the IPublishedContentModelFactory object.
/// </summary>
internal class PublishedContentModelFactoryResolver : SingleObjectResolverBase<PublishedContentModelFactoryResolver, IPublishedContentModelFactory>
public class PublishedContentModelFactoryResolver : SingleObjectResolverBase<PublishedContentModelFactoryResolver, IPublishedContentModelFactory>
{
/// <summary>
/// Initializes a new instance of the <see cref="PublishedContentModelFactoryResolver"/>.