fixed attempt to initialize it's False property, changed IPublishedStore back to internal... was my mistake to make this public just yet.

This commit is contained in:
Shannon Deminick
2012-11-04 08:56:50 +06:00
parent b337f4e5e4
commit e4d4aa935a
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ namespace Umbraco.Core
/// <summary> /// <summary>
/// Represents an unsuccessful parse operation /// Represents an unsuccessful parse operation
/// </summary> /// </summary>
public static readonly Attempt<T> False; public static readonly Attempt<T> False = new Attempt<T>(false, default(T));
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Attempt{T}"/> struct. /// Initializes a new instance of the <see cref="Attempt{T}"/> struct.

View File

@@ -6,7 +6,7 @@ namespace Umbraco.Web
/// <summary> /// <summary>
/// Defines the methods for published documents /// Defines the methods for published documents
/// </summary> /// </summary>
public interface IPublishedStore internal interface IPublishedStore
{ {
IPublishedContent GetDocumentById(UmbracoContext umbracoContext, int nodeId); IPublishedContent GetDocumentById(UmbracoContext umbracoContext, int nodeId);
IEnumerable<IPublishedContent> GetRootDocuments(UmbracoContext umbracoContext); IEnumerable<IPublishedContent> GetRootDocuments(UmbracoContext umbracoContext);