Пример #1
0
 protected static void ValidateRequest(HttpRequestBase request)
 {
     request.ValidateInput();
 }
		protected abstract bool ValidateRequest (HttpRequestBase request);
		protected override bool ValidateRequest (HttpRequestBase request)
		{
			return request.ContentType.StartsWith ("application/json", 
				StringComparison.OrdinalIgnoreCase);		
		}