Created
June 16, 2012 21:14
-
-
Save dax70/2942515 to your computer and use it in GitHub Desktop.
EnumerableWrapper for JsonNET
This file contains 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.Generic; | |
using System.Linq; | |
namespace MvcJson.Net.Models | |
{ | |
public class EnumerableWrapper<T> | |
{ | |
public EnumerableWrapper(IEnumerable<T> items) | |
{ | |
this.Items = items; | |
} | |
public IEnumerable<T> Items { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment