示例#1
0
 public static Task throws_on_null_uri() => Should.ThrowAsync <ArgumentNullException>(() => ImagePipeline.FromUriAsync((string)null, TestValues.DefaultImageLoadOptions));
示例#2
0
 public static Task throws_on_null_options() => Should.ThrowAsync <ArgumentNullException>(() => ImagePipeline.FromUriAsync(TestValues.InputUrl, null));
示例#3
0
 public static Task throws_on_null_uri() => Should.ThrowAsync <ArgumentNullException>(() => ImagePipeline.FromUriAsync((Uri)null));
示例#4
0
 public static async Task returns_pipeline() => (await ImagePipeline.FromUriAsync(TestValues.InputUrl, new ImageLoadOptions()).ForAwait()).ShouldNotBeNull();
 public static async Task returns_pipeline() => (await ImagePipeline.FromUriAsync(TestValues.InputUrl)).ShouldNotBeNull();