private static SystemManifest CreateReferenceManifest(Guid scenarioId) { var manifest = new SystemManifest(); manifest.PullFromGlobalSettings(); var _agents = new List <IManifestComponentAgent>() { new ManifestAssetAgent(scenarioId), new ManifestDocumentAgent(scenarioId), new ManifestServerAgent(scenarioId), new ManifestPrintQueueAgent(scenarioId), new ManifestSettingsAgent() }; // Have all agents populate their respective portions of the manifest foreach (IManifestComponentAgent agent in _agents) { agent.AssignManifestInfo(manifest); } return(manifest); }
public void AssignManifestInfo(SystemManifest manifest) { manifest.PullFromGlobalSettings(); }