From c4c9126f79f43ad865cfa670bda90a94ffb39d9c Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Fri, 8 Mar 2013 14:14:09 -0500 Subject: added more attributes for api docs --- MediaBrowser.Api/ApiService.cs | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 MediaBrowser.Api/ApiService.cs (limited to 'MediaBrowser.Api/ApiService.cs') diff --git a/MediaBrowser.Api/ApiService.cs b/MediaBrowser.Api/ApiService.cs deleted file mode 100644 index 33ea492e0..000000000 --- a/MediaBrowser.Api/ApiService.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Net; - -namespace MediaBrowser.Api -{ - /// - /// Contains some helpers for the api - /// - public static class ApiService - { - /// - /// Determines whether [is API URL match] [the specified URL]. - /// - /// The URL. - /// The request. - /// true if [is API URL match] [the specified URL]; otherwise, false. - public static bool IsApiUrlMatch(string url, HttpListenerRequest request) - { - url = "/api/" + url; - - return request.Url.LocalPath.EndsWith(url, StringComparison.OrdinalIgnoreCase); - } - } -} -- cgit v1.2.3