forked from miyu/ItzWarty.Proxies.Impl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathItzWartyProxiesRyuPackage.cs
38 lines (33 loc) · 1.18 KB
/
ItzWartyProxiesRyuPackage.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dargon.Ryu;
using ItzWarty.IO;
using ItzWarty.Networking;
using ItzWarty.Processes;
using ItzWarty.Threading;
namespace ItzWarty {
public class ItzWartyProxiesRyuPackage : RyuPackageV1 {
public ItzWartyProxiesRyuPackage() {
Singleton<GuidProxy, GuidProxyImpl>();
// IO
Singleton<InternalFileSystemProxy, FileSystemProxy>();
Singleton<IFileSystemProxy, FileSystemProxy>();
Singleton<IStreamFactory, StreamFactory>();
// Processes
Singleton<IProcessProxy, ProcessProxy>();
// Threading
Singleton<ISynchronizationFactory, SynchronizationFactory>();
Singleton<IThreadingFactory, ThreadingFactory>();
Singleton<IThreadingProxy, ThreadingProxy>();
// Networking
Singleton<IDnsProxy, DnsProxy>();
Singleton<INetworkingInternalFactory, NetworkingInternalFactory>();
Singleton<ISocketFactory, SocketFactory>();
Singleton<INetworkingProxy, NetworkingProxy>();
Singleton<ITcpEndPointFactory, TcpEndPointFactory>();
}
}
}