abp
abp copied to clipboard
Convert to using declarations
For example:
using (var uow = _unitOfWorkManager.Reserve(UnitOfWork.UnitOfWorkReservationName))
{
await next(context);
await uow.CompleteAsync(context.RequestAborted);
}
Can be converted to:
using var uow = _unitOfWorkManager.Reserve(UnitOfWork.UnitOfWorkReservationName);
await next(context);
await uow.CompleteAsync(context.RequestAborted);
Happy to create a PR
hi
I guess it's trivial, you don't have to spend time dealing with it, I personally prefer curly braces. : )
Thanks again.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.