Skip to content

Instantly share code, notes, and snippets.

@avisser
Last active April 14, 2016 18:43
Show Gist options
  • Save avisser/e649ac9371b813ce3f37fadada29e503 to your computer and use it in GitHub Desktop.
Save avisser/e649ac9371b813ce3f37fadada29e503 to your computer and use it in GitHub Desktop.
public class GridColumnFactory<TModel> : IHideObjectMembers where TModel : class
{
}
public class MyFactory<T> : GridColumnFactory<T> where T : class
{
public MyFactory() : base(insert_params_here)
{
}
public MyFactory(Grid<T> container, ViewContext viewContext, IUrlGenerator urlGenerator)
: base(container, viewContext, urlGenerator, (IGridColumnContainer<T>) container)
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment