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