This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Newtonsoft.Json; | |
| using Newtonsoft.Json.Converters; | |
| using Newtonsoft.Json.Serialization; | |
| using System.Web; | |
| using System.Web.Mvc; | |
| using System; | |
| namespace MyMvcApp.ActionResults | |
| { | |
| public class BetterJsonResult : JsonResult |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| namespace Shouldly | |
| { | |
| static class ShouldlyExtensions | |
| { | |
| public static void ShouldHavePropertyValuesEqualTo(this object actual, object expected) | |
| { | |
| foreach (var prop in expected.GetType().GetProperties()) |
NewerOlder