Exemplo n.º 1
0
 public UserProcessor(string message)
 {
     processorName = message.Split(';')[0];
     processDate   = Convert.ToDateTime(message.Split(';')[1]);
     jobRunId      = Convert.ToInt32(message.Split(';')[2]);
     login         = message.Split(';')[3];
     token         = message.Split(';')[5];
     gitHelper     = new GithubCommonHelper(token);
 }
 public RepositoryProcessor(string message)
 {
     message       = message.Replace(',', ';');
     processorName = message.Split(';')[0];
     processDate   = Convert.ToDateTime(message.Split(';')[1]);
     jobRunId      = Convert.ToInt32(message.Split(';')[2]);
     repoId        = Convert.ToInt64(message.Split(';')[3]);
     token         = message.Split(';')[5];
     gitHelper     = new GithubCommonHelper(token);
 }