Commit ebf5a18
committed
Eliminate the NodeHostingModel enum because it isn't extensible. Instead, use extension methods on NodeServicesOptions to configure a NodeInstanceFactory.
1 parent d865e1f commit ebf5a18Copy full SHA for ebf5a18
File tree
Expand file treeCollapse file tree
8 files changed
+54
-81
lines changedOpen diff view settings
Filter options
- samples/misc/LatencyTest
- src/Microsoft.AspNetCore.NodeServices
- Configuration
- HostingModels
Expand file treeCollapse file tree
8 files changed
+54
-81
lines changedOpen diff view settings
Collapse file
samples/misc/LatencyTest/Program.cs
Copy file name to clipboardExpand all lines: samples/misc/LatencyTest/Program.cs-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
20 | 19 | |
21 | 20 | |
22 | 21 | |
|
Collapse file
src/Microsoft.AspNetCore.NodeServices/Configuration/NodeHostingModel.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/Configuration/NodeHostingModel.cs-18Lines changed: 0 additions & 18 deletions
This file was deleted.
Collapse file
src/Microsoft.AspNetCore.NodeServices/Configuration/NodeServicesFactory.cs
Copy file name to clipboard+1-27Lines changed: 1 addition & 27 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | 2 | |
4 | 3 | |
5 | 4 | |
| ||
19 | 18 | |
20 | 19 | |
21 | 20 | |
22 | | - |
23 | | - |
24 | | - |
25 | 21 | |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
| 22 | + |
49 | 23 | |
50 | 24 | |
51 | 25 | |
Collapse file
src/Microsoft.AspNetCore.NodeServices/Configuration/NodeServicesOptions.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/Configuration/NodeServicesOptions.cs+6-12Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | 16 | |
22 | 17 | |
23 | 18 | |
| ||
36 | 31 | |
37 | 32 | |
38 | 33 | |
39 | | - |
40 | 34 | |
41 | 35 | |
42 | 36 | |
| ||
53 | 47 | |
54 | 48 | |
55 | 49 | |
56 | | - |
57 | 50 | |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
| 51 | + |
| 52 | + |
| 53 | + |
62 | 54 | |
63 | 55 | |
64 | | - |
| 56 | + |
| 57 | + |
| 58 | + |
65 | 59 | |
66 | 60 | |
67 | 61 | |
|
Collapse file
src/Microsoft.AspNetCore.NodeServices/HostingModels/HttpNodeInstance.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/HostingModels/HttpNodeInstance.cs+8-12Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | 2 | |
4 | 3 | |
5 | 4 | |
6 | 5 | |
7 | 6 | |
8 | 7 | |
9 | | - |
10 | 8 | |
11 | 9 | |
12 | 10 | |
| ||
36 | 34 | |
37 | 35 | |
38 | 36 | |
39 | | - |
40 | | - |
41 | | - |
| 37 | + |
42 | 38 | |
43 | 39 | |
44 | 40 | |
45 | 41 | |
46 | | - |
47 | | - |
| 42 | + |
| 43 | + |
48 | 44 | |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
54 | 50 | |
55 | 51 | |
56 | 52 | |
|
Collapse file
src/Microsoft.AspNetCore.NodeServices/HostingModels/NodeServicesOptionsExtensions.cs
Copy file name to clipboard+30Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 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 | + |
Collapse file
src/Microsoft.AspNetCore.NodeServices/HostingModels/SocketNodeInstance.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/HostingModels/SocketNodeInstance.cs+8-10Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | | - |
46 | | - |
47 | | - |
| 45 | + |
48 | 46 | |
49 | 47 | |
50 | 48 | |
51 | 49 | |
52 | | - |
53 | | - |
| 50 | + |
| 51 | + |
54 | 52 | |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
60 | 58 | |
61 | 59 | |
62 | 60 | |
|
Collapse file
src/Microsoft.AspNetCore.NodeServices/NodeServicesImpl.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/NodeServicesImpl.cs+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
| 53 | + |
54 | 54 | |
55 | 55 | |
56 | 56 | |
|
0 commit comments