abp icon indicating copy to clipboard operation
abp copied to clipboard

Convert to using declarations

Open beriniwlew opened this issue 3 years ago • 1 comments

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

beriniwlew avatar Aug 07 '22 16:08 beriniwlew

hi

I guess it's trivial, you don't have to spend time dealing with it, I personally prefer curly braces. : )

Thanks again.

maliming avatar Aug 08 '22 02:08 maliming

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.

stale[bot] avatar Oct 15 '22 18:10 stale[bot]