using System; namespace Umbraco.Web.Routing { ///// ///// Abstract DocumentLookup class ///// //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); //} }