Example #1
0
 public static CIObject CreateIObject(String bioCode, BioSession ownerSession, bool suppressErrors) {
   CIObject vResult = null;
   String vIniFileName = SrvUtl.bldiniFileName(ownerSession.Cfg.IniPath, bioCode);
   if(File.Exists(vIniFileName)) {
     vResult = ownerSession.IObj_get(bioCode);
     if(vResult == null) {
       vResult = new CIObject(bioCode, ownerSession);
     }
     //TIObject vResult = new TIObject(pIOCode, pIOUID, pOwnerSession);
     try {
       vResult.initIO(ownerSession.Cfg.DoReloadIOOnInit);
     } catch {
       if(!suppressErrors)
         throw;
       else
         vResult = null;
     }
   }
   return vResult;
 }
 public void IObj_set(String bioCode, CIObject iObj) {
   this.FIOS[bioCode] = iObj;
 }