Esempio n. 1
0
        private void StartActiveRepo()
        {
            List <Models.Copyright>  lstCopyright     = Dal.CopyrightDb.LoadActiveRepo();
            CopyrightServiceV1Client copyrightService = new CopyrightServiceV1Client("BasicHttpBinding_ICopyrightServiceV1");

            foreach (var copyright in lstCopyright)
            {
                if (!copyrightService.IsProcessing(copyright.RepositoryUrl))
                {
                    copyrightService.CallFileHeaderEnforcement(copyright.RepositoryUrl, copyright.CopyrightText, copyright.Emailreport);
                }
                //copyright.ForceMessage = "Forcing";
            }
        }
Esempio n. 2
0
 private void StartThread(string pRepoUrl, string pCopyrightText, string pEmail)
 {
     CopyrightServiceV1Client copyrightService = new CopyrightServiceV1Client("BasicHttpBinding_ICopyrightServiceV1");
     copyrightService.CallFileHeaderEnforcement(pRepoUrl, pCopyrightText, pEmail);
 }
Esempio n. 3
0
        private void StartThread(string pRepoUrl, string pCopyrightText, string pEmail)
        {
            CopyrightServiceV1Client copyrightService = new CopyrightServiceV1Client("BasicHttpBinding_ICopyrightServiceV1");

            copyrightService.CallFileHeaderEnforcement(pRepoUrl, pCopyrightText, pEmail);
        }
Esempio n. 4
0
 private void StartActiveRepo()
 {
     List<Models.Copyright> lstCopyright = Dal.CopyrightDb.LoadActiveRepo();
     CopyrightServiceV1Client copyrightService = new CopyrightServiceV1Client("BasicHttpBinding_ICopyrightServiceV1");
     foreach (var copyright in lstCopyright)
     {
         if (!copyrightService.IsProcessing(copyright.RepositoryUrl))
         {
             copyrightService.CallFileHeaderEnforcement(copyright.RepositoryUrl, copyright.CopyrightText, copyright.Emailreport);
         }
         //copyright.ForceMessage = "Forcing";
     }
 }