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:
@@ -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.
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user