forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPclExportClient.NetStandard.cs
More file actions
38 lines (31 loc) · 981 Bytes
/
PclExportClient.NetStandard.cs
File metadata and controls
38 lines (31 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//Copyright (c) Service Stack LLC. All Rights Reserved.
//License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt
#if NETSTANDARD1_1
using System;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading;
using ServiceStack;
using ServiceStack.Web;
using ServiceStack.Pcl;
namespace ServiceStack
{
using System.Web;
public class NetStandardPclExportClient : PclExportClient
{
public static NetStandardPclExportClient Provider = new NetStandardPclExportClient();
public static PclExportClient Configure()
{
Configure(Provider ?? (Provider = new NetStandardPclExportClient()));
NetStandardPclExport.Configure();
return Provider;
}
public override INameValueCollection NewNameValueCollection()
{
return new NameValueCollectionWrapper(new NameValueCollection());
}
}
}
#endif