diff options
Diffstat (limited to 'src/test/Example.Extension/ExampleExtensionData.cs')
| -rw-r--r-- | src/test/Example.Extension/ExampleExtensionData.cs | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/test/Example.Extension/ExampleExtensionData.cs b/src/test/Example.Extension/ExampleExtensionData.cs index b38eb2a2..2ba94397 100644 --- a/src/test/Example.Extension/ExampleExtensionData.cs +++ b/src/test/Example.Extension/ExampleExtensionData.cs | |||
| @@ -16,21 +16,7 @@ namespace Example.Extension | |||
| 16 | 16 | ||
| 17 | public bool TryGetTupleDefinitionByName(string name, out IntermediateTupleDefinition tupleDefinition) | 17 | public bool TryGetTupleDefinitionByName(string name, out IntermediateTupleDefinition tupleDefinition) |
| 18 | { | 18 | { |
| 19 | switch (name) | 19 | tupleDefinition = ExampleTupleDefinitions.ByName(name); |
| 20 | { | ||
| 21 | case "Example": | ||
| 22 | tupleDefinition = ExampleTupleDefinitions.Example; | ||
| 23 | break; | ||
| 24 | |||
| 25 | case "ExampleSearch": | ||
| 26 | tupleDefinition = ExampleTupleDefinitions.ExampleSearch; | ||
| 27 | break; | ||
| 28 | |||
| 29 | default: | ||
| 30 | tupleDefinition = null; | ||
| 31 | break; | ||
| 32 | } | ||
| 33 | |||
| 34 | return tupleDefinition != null; | 20 | return tupleDefinition != null; |
| 35 | } | 21 | } |
| 36 | } | 22 | } |
