Пример #1
0
 public static void SetStatus(int id, ReorgBlockStatusInfo rs)
 {
     if (_ReorgReader != null)
     {
         _ReorgReader.NotifyStatus(id, rs);
     }
 }
Пример #2
0
        public ReorgBlock(int id, string blockName, object[] blockParms, BlockEndCallback blockEnd, Assembly reorgAssembly)
        {
            this.id         = id;
            this.blockName  = blockName;
            this.blockParms = blockParms;
            this.blockEnd   = blockEnd;
            this.statusInfo = new ReorgBlockStatusInfo(ReorgBlockStatus.Pending, "");
            string appNS;

            if (Config.GetValueOf("AppMainNamespace", out appNS))
            {
                this.appNamespace = appNS;
            }
            else
            {
                this.appNamespace = "GeneXus.Programs";
            }
            assembly = reorgAssembly;
        }