public void ReleaseService(EnhancedOrgServiceBase enhancedService)
        {
            var releasedServices = enhancedService.ClearServicesQueue();

            foreach (var service in releasedServices)
            {
                crmServicesQueue.Enqueue(service);
            }
        }
示例#2
0
 protected internal PlannedOrgService(EnhancedOrgServiceBase enhancedOrgServiceBase, Action cancelAction)
 {
     this.enhancedOrgServiceBase = enhancedOrgServiceBase;
     this.cancelAction           = cancelAction;
     executionQueue = new Queue <PlannedOperation>();
 }
示例#3
0
 protected internal DeferredOrgService(EnhancedOrgServiceBase enhancedOrgServiceBase, Action cancelAction)
 {
     this.enhancedOrgServiceBase = enhancedOrgServiceBase;
     this.cancelAction           = cancelAction;
     deferredRequests            = new List <IToken <OrganizationResponse> >();
 }