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); }
public OccPackage(OccLib lib) { _lib = lib; }