Beispiel #1
0
        public static BusquedaJob CreateJob(BusquedaRequestDTO request, IProviderManagerSignalR providerManager)
        {
            var job = new BusquedaJob(request, providerManager);

            RunningJobs.TryAdd(job.Id, job);
            return(job);
        }
 public BusquedaJob(String id, BusquedaRequestDTO request, IProviderManagerSignalR providerManager)
 {
     this.Id              = id;
     this.Request         = request;
     this.ProviderManager = providerManager;
 }
 public BusquedaJob(BusquedaRequestDTO request, IProviderManagerSignalR providerManager)
     : this(Guid.NewGuid().ToString(), request, providerManager)
 {
 }