using System; using Umbraco.Core.ObjectResolution; namespace Umbraco.Web.Routing { /// /// Resolves the implementation. /// public sealed class SiteDomainHelperResolver : SingleObjectResolverBase { /// /// Initializes a new instance of the class with an implementation. /// /// The implementation. internal SiteDomainHelperResolver(ISiteDomainHelper helper) : base(helper) { } /// /// Can be used by developers at runtime to set their IDomainHelper at app startup /// /// public void SetHelper(ISiteDomainHelper helper) { Value = helper; } /// /// Gets or sets the implementation. /// public ISiteDomainHelper Helper { get { return Value; } } } }