Beispiel #1
0
        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);
        }
Beispiel #2
0
 public void AssignManifestInfo(SystemManifest manifest)
 {
     manifest.PullFromGlobalSettings();
 }