예제 #1
0
        public ExtensionLibraryImportOp GetOrCreateExtensionLibraryImport(string extensionLibraryName, bool checkDependencies = true)
        {
            var result = FindExtensionLibraryImport(extensionLibraryName, checkDependencies);

            if (result == null)
            {
                result = new ExtensionLibraryImportOp();
                result.ExtensionLibraryName = extensionLibraryName;
                ExtensionLibraryImports.Add(extensionLibraryName, result);
            }
            return(result);
        }
예제 #2
0
 public void Visit(ExtensionLibraryImportOp extLibraryImportOp)
 {
     mReferencedExtensionLibraryImports.Add(extLibraryImportOp);
 }