21 lines
878 B
C#
21 lines
878 B
C#
using System;
|
|
|
|
namespace Umbraco.Web.Routing
|
|
{
|
|
///// <summary>
|
|
///// Abstract DocumentLookup class
|
|
///// </summary>
|
|
//internal abstract class DocumentLookupBase : IPublishedContentLookup
|
|
//{
|
|
// public bool TrySetDocument(PublishedContentRequest docRequest)
|
|
// {
|
|
// if (docRequest == null) throw new ArgumentNullException("docRequest");
|
|
// if (docRequest.RoutingContext == null) throw new ArgumentNullException("docRequest.RoutingContext");
|
|
// if (docRequest.RoutingContext.UmbracoContext == null) throw new ArgumentNullException("docRequest.UmbracoContext");
|
|
|
|
// return TrySetDocument(docRequest, docRequest.RoutingContext, docRequest.UmbracoContext);
|
|
// }
|
|
|
|
// protected abstract bool TrySetDocument(PublishedContentRequest docRequest, RoutingContext routingContext, UmbracoContext umbracoContext);
|
|
//}
|
|
} |