5 overrides of CreateWithContent
Microsoft.AspNetCore.WebUtilities.Tests (5)
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (5)
34
public override ReadOnlySequence<byte>
CreateWithContent
(byte[] data)
49
public override ReadOnlySequence<byte>
CreateWithContent
(byte[] data)
64
public override ReadOnlySequence<byte>
CreateWithContent
(byte[] data)
79
public override ReadOnlySequence<byte>
CreateWithContent
(byte[] data)
92
public override ReadOnlySequence<byte>
CreateWithContent
(byte[] data)
11 references to CreateWithContent
Microsoft.AspNetCore.WebUtilities.Tests (11)
FormPipeReaderTests.cs (10)
217
var readOnlySequence = ReadOnlySequenceFactory.SegmentPerByteFactory.
CreateWithContent
(bytes);
276
var readOnlySequence = ReadOnlySequenceFactory.SingleSegmentFactory.
CreateWithContent
(encoding.GetBytes("foo=bar&baz=boo&t="));
295
var readOnlySequence = ReadOnlySequenceFactory.SingleSegmentFactory.
CreateWithContent
(encoding.GetBytes("foo=bar&baz=boo&t="));
317
var readOnlySequence = ReadOnlySequenceFactory.SegmentPerByteFactory.
CreateWithContent
(encoding.GetBytes("foo=bar&baz=boo&t="));
336
var readOnlySequence = ReadOnlySequenceFactory.SegmentPerByteFactory.
CreateWithContent
(encoding.GetBytes("foo=bar&baz=boo&t="));
358
var readOnlySequence = ReadOnlySequenceFactory.SegmentPerByteFactory.
CreateWithContent
(encoding.GetBytes("foo=bar&baz=bo" + new string('a', 128)));
376
var readOnlySequence = ReadOnlySequenceFactory.SegmentPerByteFactory.
CreateWithContent
(encoding.GetBytes("+++=+++&++++=++++&+="));
395
var readOnlySequence = ReadOnlySequenceFactory.SingleSegmentFactory.
CreateWithContent
(encoding.GetBytes("++%2B=+++%2B&++++=++++&+="));
414
var readOnlySequence = ReadOnlySequenceFactory.SegmentPerByteFactory.
CreateWithContent
(encoding.GetBytes("\"%-.<>\\^_`{|}~=\"%-.<>\\^_`{|}~&\"%-.<>\\^_`{|}=wow"));
448
var readOnlySequence = ReadOnlySequenceFactory.SingleSegmentFactory.
CreateWithContent
(Encoding.UTF8.GetBytes("foo=bar&baz=boo&t="));
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (1)
24
return
CreateWithContent
(Encoding.ASCII.GetBytes(data));