forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SharedProjectImports.cs
49 lines (48 loc) · 2.65 KB
/
SharedProjectImports.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
39
40
41
42
43
44
45
46
47
48
49
namespace nanoFramework.IoT.Device.CodeConverter
{
public static class SharedProjectImports
{
public static SharedProjectImport[] GetnfSharedProjectImports()
{
return new[]
{
new SharedProjectImport {
Namespace="System.Diagnostics",
CodeMatchString="Stopwatch",
NewProjectImport = @"<Import Project=""..\..\src\Stopwatch\Stopwatch.projitems"" Label=""Shared"" />"
},
new SharedProjectImport {
Namespace="System.Buffers.Binary",
CodeMatchString="BinaryPrimitives",
NewProjectImport = @"<Import Project=""..\..src\BinaryPrimitives\BinaryPrimitives.projitems"" Label=""Shared"" />"
},
new SharedProjectImport {
Namespace="System.Device.Model",
NewProjectImport = @"<Import Project=""..\..\src\System.Device.Model\System.Device.Model.projitems"" Label=""Shared"" />"
},
new SharedProjectImport {
Namespace="System.Numerics",
NewProjectImport = @"<Import Project=""..\..\src\System.Numerics\System.Numerics.projitems"" Label=""Shared"" />"
},
new SharedProjectImport {
Namespace="System.Runtime.CompilerService",
NewProjectImport = @"<Import Project=""..\..\src\System.Runtime.CompilerService\System.Runtime.CompilerService.projitems"" Label=""Shared"" />"
},
new SharedProjectImport {
Namespace="System.Drawing",
NewProjectImport = @"<Import Project=""..\..\src\System.Drawing\System.Drawing.projitems"" Label=""Shared"" />"
},
new SharedProjectImport {
Namespace="Iot.Device.Common",
NewProjectImport = @"<Import Project=""..\..\src\Iot.Device.Common\Iot.Device.Common.projitems"" Label=""Shared"" />"
}
};
}
}
public class SharedProjectImport
{
public string Namespace { get; set; }
public string CodeMatchString { get; set; }
public string NewProjectImport { get; set; }
}
}