summaryrefslogtreecommitdiff
path: root/lib/utility/DefaultConstructorFactory.cs
blob: 56d1a760f73f13a2f462645b4ba63789d07fdc52 (plain)
1
2
3
4
5
6
7
8
9
10
namespace gorilla.utility
{
    public class DefaultConstructorFactory<T> : ComponentFactory<T> where T : new()
    {
        public T create()
        {
            return new T();
        }
    }
}