Skip to content

Instantly share code, notes, and snippets.

@dax70
Created June 16, 2012 21:14
Show Gist options
  • Save dax70/2942515 to your computer and use it in GitHub Desktop.
Save dax70/2942515 to your computer and use it in GitHub Desktop.
EnumerableWrapper for JsonNET
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