Beispiel #1
0
        private Intermediate LibraryPhase(IEnumerable <Intermediate> intermediates, IEnumerable <Localization> localizations)
        {
            // If there was an error loading localization files, then bail.
            if (this.Messaging.EncounteredError)
            {
                return(null);
            }

            var librarian = new Librarian(this.ServiceProvider);

            librarian.BindFiles     = this.BindFiles;
            librarian.BindPaths     = this.BindPaths;
            librarian.Intermediates = intermediates;
            librarian.Localizations = localizations;
            return(librarian.Execute());
        }