public virtual Type Create()
{
if (Builder == null)
throw new InvalidOperationException(
"The builder object has not been defined. Ensure that Setup is called prior to Create");
if (DefinedType != null)
return DefinedType;
DefinedType = Builder.CreateType();
return DefinedType;
}