using System; namespace Umbraco.Core { /// /// Helper methods for Activation /// internal static class ActivatorHelper { /// /// Creates an instance of a type using that type's default constructor. /// /// /// public static T CreateInstance() where T : class, new() { return Activator.CreateInstance(typeof(T)) as T; } } }