Esempio n. 1
0
 private void CleanUp(IExecutionDto dto)
 {
     dto.DataObject = null;
     dto.ErrorResultTO.ClearErrors();
     GCSettings.LargeObjectHeapCompactionMode = GCLargeObjectHeapCompactionMode.CompactOnce;
     GC.Collect(3, GCCollectionMode.Forced, false);
 }
Esempio n. 2
0
 public static ResponseData FromExecutionDto(IExecutionDto executionDto, string contentType)
 {
     return(new ResponseData(executionDto.PayLoad, contentType));
 }
Esempio n. 3
0
 public ExecutionDtoExtensions(IExecutionDto executionDto)
 {
     _executionDto = executionDto;
 }