/// <summary> /// Initializes a new instance of the <see cref="KeyValueFormEncoding"/> class. /// </summary> /// <param name="conformanceLevel">How strictly an incoming Key-Value Form message will be held to the spec.</param> public KeyValueFormEncoding(KeyValueFormConformanceLevel conformanceLevel) { this.ConformanceLevel = conformanceLevel; }
/// <summary> /// Initializes a new instance of the <see cref="KeyValueFormEncoding"/> class. /// </summary> /// <param name="conformanceLevel">How strictly an incoming Key-Value Form message will be held to the spec.</param> public KeyValueFormEncoding(KeyValueFormConformanceLevel conformanceLevel) { this.ConformanceLevel = conformanceLevel; }
private void Illegal(string s, KeyValueFormConformanceLevel level) { new KeyValueFormEncoding(level).GetDictionary(new MemoryStream(Encoding.UTF8.GetBytes(s))); }
private async Task IllegalAsync(string s, KeyValueFormConformanceLevel level) { await new KeyValueFormEncoding(level).GetDictionaryAsync(new MemoryStream(Encoding.UTF8.GetBytes(s)), CancellationToken.None); }
private async Task IllegalAsync(string s, KeyValueFormConformanceLevel level) { await new KeyValueFormEncoding(level).GetDictionaryAsync(new MemoryStream(Encoding.UTF8.GetBytes(s)), CancellationToken.None); }
private void Illegal(string s, KeyValueFormConformanceLevel level) { new KeyValueFormEncoding(level).GetDictionary(new MemoryStream(Encoding.UTF8.GetBytes(s))); }