diff options
Diffstat (limited to 'src/WixToolset.Core/Link/ConnectToModule.cs')
-rw-r--r-- | src/WixToolset.Core/Link/ConnectToModule.cs | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/WixToolset.Core/Link/ConnectToModule.cs b/src/WixToolset.Core/Link/ConnectToModule.cs new file mode 100644 index 00000000..d6a8338e --- /dev/null +++ b/src/WixToolset.Core/Link/ConnectToModule.cs | |||
@@ -0,0 +1,54 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset.Link | ||
4 | { | ||
5 | /// <summary> | ||
6 | /// Object that connects things to modules. | ||
7 | /// </summary> | ||
8 | public sealed class ConnectToModule | ||
9 | { | ||
10 | private string childId; | ||
11 | private string module; | ||
12 | private string moduleLanguage; | ||
13 | |||
14 | /// <summary> | ||
15 | /// Creates a new connect to module. | ||
16 | /// </summary> | ||
17 | /// <param name="childId">Id of the child.</param> | ||
18 | /// <param name="module">Id of the module.</param> | ||
19 | /// <param name="moduleLanguage">Language of the module.</param> | ||
20 | public ConnectToModule(string childId, string module, string moduleLanguage) | ||
21 | { | ||
22 | this.childId = childId; | ||
23 | this.module = module; | ||
24 | this.moduleLanguage = moduleLanguage; | ||
25 | } | ||
26 | |||
27 | /// <summary> | ||
28 | /// Gets the id of the child. | ||
29 | /// </summary> | ||
30 | /// <value>Child identifier.</value> | ||
31 | public string ChildId | ||
32 | { | ||
33 | get { return this.childId; } | ||
34 | } | ||
35 | |||
36 | /// <summary> | ||
37 | /// Gets the id of the module. | ||
38 | /// </summary> | ||
39 | /// <value>The id of the module.</value> | ||
40 | public string Module | ||
41 | { | ||
42 | get { return this.module; } | ||
43 | } | ||
44 | |||
45 | /// <summary> | ||
46 | /// Gets the language of the module. | ||
47 | /// </summary> | ||
48 | /// <value>The language of the module.</value> | ||
49 | public string ModuleLanguage | ||
50 | { | ||
51 | get { return this.moduleLanguage; } | ||
52 | } | ||
53 | } | ||
54 | } | ||