示例#1
0
        public OccLib GetLib(string libName)
        {
            if (_libs.ContainsKey(libName))
            {
                return(_libs[libName]);
            }
            var retLib = new OccLib(this)
            {
                Name = libName
            };                                                // "this" sets the source of the lib

            _libs.Add(libName, retLib);
            return(retLib);
        }
示例#2
0
 public OccPackage(OccLib lib)
 {
     _lib = lib;
 }