public HTMLOperationContext(HTMLService service, IDictionary <string, string> dictionary) : base(dictionary) { this.Service = service; this.ApplicationOptionsFactory = new ApplicationOptionsFactoryImpl(this); }
public HTMLOperationContextScope(HTMLService service) : this(service, new Dictionary <string, string>()) { }
public HTMLOperationContextScope(HTMLService service, IDictionary <string, string> dictionary) { dictionary = HTMLOperationContext.GetDefaults().Merge(dictionary, key => key.ToUpper()); context = new HTMLOperationContext(service, dictionary); }
public HTMLOperationContextScope(HTMLService service, HttpRequestMessage request) : this(service, request.GetQueryNameValuePairs() .ToDictionary(kv => kv.Key, kv => kv.Value, StringComparer.OrdinalIgnoreCase)) { }