LCOV - code coverage report
Current view: top level - Cqrs.WebApi/Configuration - WebApiConfig.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 2 0.0 %
Date: 2017-07-26

          Line data    Source code
       1             : using System;
       2             : using System.Web.Http;
       3             : 
       4             : namespace Cqrs.WebApi.Configuration
       5             : {
       6             :         public class WebApiConfig
       7           0 :         {
       8           0 :                 public static void Register(HttpConfiguration config)
       9             :                 {
      10             :                         try
      11             :                         {
      12             :                                 config.MapHttpAttributeRoutes();
      13             :                         }
      14             :                         catch (ArgumentException exception)
      15             :                         {
      16             :                                 if (exception.ParamName != "name")
      17             :                                         throw;
      18             :                         }
      19             : 
      20             :                         GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings = Cqrs.Events.DefaultJsonSerializerSettings.DefaultSettings;
      21             :                 }
      22             :         }
      23             : }

Generated by: LCOV version 1.10