/// <summary> /// /// </summary> /// <param name="applicationResourceService"></param> /// <param name="tagScriptService"></param> /// <exception cref="ArgumentNullException"></exception> public OpenScriptTag(IApplicationResourceService applicationResourceService, ITagScriptService tagScriptService) { // validate arguments if (applicationResourceService == null) throw new ArgumentNullException("applicationResourceService"); if (tagScriptService == null) throw new ArgumentNullException("tagScriptService"); // set values this.applicationResourceService = applicationResourceService; this.tagScriptService = tagScriptService; }
/// <summary> /// Constructs a <see cref="DynamicResourceRequestHandler"/>. /// </summary> /// <param name="resourceService">The <see cref="IApplicationResourceService"/>.</param> /// <param name="scriptService">The <see cref="ITagScriptService"/>.</param> public ScriptRequestHandler(IApplicationResourceService resourceService, ITagScriptService scriptService) { // validate arguments if (resourceService == null) throw new ArgumentNullException("resourceService"); if (scriptService == null) throw new ArgumentNullException("scriptService"); // set values this.resourceService = resourceService; this.scriptService = scriptService; }
/// <summary> /// /// </summary> /// <param name="applicationResourceService">The <see cref="IApplicationResourceService"/>.</param> /// <param name="tagScriptService">The <see cref="ITagScriptService"/>.</param> public ConfigurationSettingsApplicationInitializer(IApplicationResourceService applicationResourceService, ITagScriptService tagScriptService) : base(10) { // validate arguments if (applicationResourceService == null) throw new ArgumentNullException("applicationResourceService"); if (tagScriptService == null) throw new ArgumentNullException("tagScriptService"); // set values this.applicationResourceService = applicationResourceService; this.tagScriptService = tagScriptService; }
/// <summary></summary> /// <param name="resourceService"></param> /// <param name="scriptService"></param> public ScriptRequestHandlerFactory(IApplicationResourceService resourceService, ITagScriptService scriptService) : base(new ExtensionWhiteListSpecification(Constants.ScriptExtensions, true)) { // validate arguments if (resourceService == null) throw new ArgumentNullException("resourceService"); if (scriptService == null) throw new ArgumentNullException("scriptService"); // set values this.resourceService = resourceService; this.scriptService = scriptService; }