private void EnsureInitialized()
{
if (Configuration == null)
{
var message = string.Format(
CultureInfo.CurrentCulture,
"The {0} has not be initialized. You must invoke {1} first to provide the build configuration and the build log.",
GetType().FullName,
MethodBase.GetCurrentMethod().Name);
throw new InvalidOperationException(message);
}
}