namespace Chernobyl.Creation
{
///
/// An that creates instances of type
/// using their default constructor.
///
/// The type that is being constructed and/or configured.
public class DefaultConstructorFactory : Builder, IFactory where T : new()
{
///
public T Create()
{
var result = new T();
ReportCreation(result);
return result;
}
}
}