diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs b/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs index d5475ce7b..83667da72 100644 --- a/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs +++ b/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs @@ -56,38 +56,4 @@ public static class ExtensionMethods || intent == ExternalBridgeLoginIntent.FullControl; } - - /// <summary> - /// Gets the name of the generic request type. - /// </summary> - /// <param name="request">The request.</param> - /// <returns></returns> - public static String GetTypeName(this GenericRequest request) - { - try - { - return request.Type.Split(',').First().Split('.').Last(); - } - catch - { - return request.Type; - } - } - - /// <summary> - /// Gets the name of the generic response type. - /// </summary> - /// <param name="response">The response.</param> - /// <returns></returns> - public static String GetTypeName(this GenericResponse response) - { - try - { - return response.Type.Split(',').First().Split('.').Last(); - } - catch - { - return response.Type; - } - } } |
