/// <summary> /// Create the used factory. The method was called as first in the base ctor /// </summary> /// <returns>new Settings instance</returns> protected virtual Core CreateFactory() { Core core = new Core(); ForceInitializeAttribute attribute = AttributeReflector.GetForceInitializeAttribute(Type); if (null != attribute) { core.Settings.EnableMoreDebugOutput = attribute.EnableMoreDebugOutput; core.CheckInitialize(); } return(core); }
/// <summary> /// Create the used factory. The method was called as first in the base ctor /// </summary> /// <returns>new Settings instance</returns> protected virtual Core CreateFactory() { Core core = new Core(); ForceInitializeAttribute attribute = AttributeReflector.GetForceInitializeAttribute(Type); if (null != attribute) { core.Settings.EnableMoreDebugOutput = attribute.EnableMoreDebugOutput; core.CheckInitialize(); } else { core.Settings.MessageFilter.Enabled = true; // MSProject has known issues without } return(core); }