src/BloomExe/Collection/CollectionSettings.cs
/// <summary>
/// The collection settings point to object which might not exist. For example, the xmatter pack might not exist.
/// So this should be called as soon as it is OK to show some UI. It will find any dependencies it can't meet,
/// revert them to defaults, and notify the user.
/// </summary>
The collection settings point to object which might not exist. For example, the xmatter pack might not exist.
So this should be called as soon as it is OK to show some UI. It will find any dependencies it can't meet,
revert them to defaults, and notify the user.
The collection settings point to object which might not exist . For example the xmatter pack might not exist . So this should be called as soon as it is OK to show some UI . It will find any dependencies it can ' t meet revert them to defaults and notify the user .
public void CheckAndFixDependencies(BloomFileLocator bloomFileLocator)
		{
			var errorTemplate = LocalizationManager.GetString("Errors.XMatterNotFound",
					"This Collection called for Front/Back Matter pack named '{0}', but this version of Bloom does not have it, and Bloom could not find it on this computer. The collection has been changed to use the default Front/Back Matter pages.");
			var errorMessage = String.Format(errorTemplate, XMatterPackName);
			XMatterPackName = XMatterHelper.MigrateXMatterName(XMatterPackName);
			if (string.IsNullOrEmpty(XMatterHelper.GetXMatterDirectory(XMatterPackName, bloomFileLocator, errorMessage, false)))
			{
				this.XMatterPackName = kDefaultXmatterName;
				Save();
			}
		}
public void CheckAndFixDependencies ( BloomFileLocator bloomFileLocator ) { var errorTemplate = LocalizationManager . GetString ( " " , " " ) ; var errorMessage = String . Format ( errorTemplate , XMatterPackName ) ; XMatterPackName = XMatterHelper . MigrateXMatterName ( XMatterPackName ) ; if ( string . IsNullOrEmpty ( XMatterHelper . GetXMatterDirectory ( XMatterPackName , bloomFileLocator , errorMessage , false ) ) ) { this . XMatterPackName = kDefaultXmatterName ; Save ( ) ; } }
The collection settings point to object which might not exist.
The collection settings point to object which might not exist .
bloomFileLocator
BloomFileLocator