Bike.Interpreter.ImportContext.ImportContext C# (CSharp) 메소드

ImportContext() 보호된 메소드

protected ImportContext ( string coreLibFolder, string addonLibFolders ) : System.Collections.Generic
coreLibFolder string
addonLibFolders string
리턴 System.Collections.Generic
        protected ImportContext(string coreLibFolder, string addonLibFolders)
        {
            CoreLibFolder = coreLibFolder;
            AddonLibFolders = addonLibFolders;
            SearchPaths.Add(coreLibFolder);
            if (string.IsNullOrWhiteSpace(addonLibFolders))
                return;
            string[] paths = addonLibFolders.Split(Path.PathSeparator);
            foreach (var path in paths)
                if (Directory.Exists(path))
                    SearchPaths.Add(path);
            SearchPaths.Reverse();
        }