aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/FirewallTupleDefinitions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/FirewallTupleDefinitions.cs')
-rw-r--r--src/wixext/Tuples/FirewallTupleDefinitions.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/wixext/Tuples/FirewallTupleDefinitions.cs b/src/wixext/Tuples/FirewallTupleDefinitions.cs
index 2710380e..887893c7 100644
--- a/src/wixext/Tuples/FirewallTupleDefinitions.cs
+++ b/src/wixext/Tuples/FirewallTupleDefinitions.cs
@@ -5,18 +5,18 @@ namespace WixToolset.Firewall
5 using System; 5 using System;
6 using WixToolset.Data; 6 using WixToolset.Data;
7 7
8 public enum FirewallTupleDefinitionType 8 public enum FirewallSymbolDefinitionType
9 { 9 {
10 WixFirewallException, 10 WixFirewallException,
11 } 11 }
12 12
13 public static partial class FirewallTupleDefinitions 13 public static partial class FirewallSymbolDefinitions
14 { 14 {
15 public static readonly Version Version = new Version("4.0.0"); 15 public static readonly Version Version = new Version("4.0.0");
16 16
17 public static IntermediateTupleDefinition ByName(string name) 17 public static IntermediateSymbolDefinition ByName(string name)
18 { 18 {
19 if (!Enum.TryParse(name, out FirewallTupleDefinitionType type)) 19 if (!Enum.TryParse(name, out FirewallSymbolDefinitionType type))
20 { 20 {
21 return null; 21 return null;
22 } 22 }
@@ -24,12 +24,12 @@ namespace WixToolset.Firewall
24 return ByType(type); 24 return ByType(type);
25 } 25 }
26 26
27 public static IntermediateTupleDefinition ByType(FirewallTupleDefinitionType type) 27 public static IntermediateSymbolDefinition ByType(FirewallSymbolDefinitionType type)
28 { 28 {
29 switch (type) 29 switch (type)
30 { 30 {
31 case FirewallTupleDefinitionType.WixFirewallException: 31 case FirewallSymbolDefinitionType.WixFirewallException:
32 return FirewallTupleDefinitions.WixFirewallException; 32 return FirewallSymbolDefinitions.WixFirewallException;
33 33
34 default: 34 default:
35 throw new ArgumentOutOfRangeException(nameof(type)); 35 throw new ArgumentOutOfRangeException(nameof(type));