Beispiel #1
0
        public bool AddCodeGenManifests(IEnumerable <EventManifest> manifests)
        {
            if (manifests is null)
            {
                throw new ArgumentNullException(nameof(manifests));
            }

            codeGenManifests.AddRange(manifests);

            var trap             = diags.TrapError();
            var combinedManifest = CreateManifest(codeGenManifests);

            if (trap.ErrorOccurred)
            {
                return(false);
            }

            combinedCodeGenManifest = combinedManifest;
            return(true);
        }