nopCommerce icon indicating copy to clipboard operation
nopCommerce copied to clipboard

Global using directives

Open DmitriyKulagin opened this issue 2 years ago • 2 comments

nopCommerce version: 4.60

With C# 10 you can use global using directives that the compiler will consider for the whole project.

DmitriyKulagin avatar Mar 04 '22 08:03 DmitriyKulagin

@DmitriyKulagin For why, what benefits?

RomanovM avatar Mar 07 '22 09:03 RomanovM

@RomanovM This will allow us to get rid of repeating fragments in our source files that do not carry a semantic load. The code will become cleaner. In addition, it will not affect performance in any way .

DmitriyKulagin avatar Mar 09 '22 11:03 DmitriyKulagin

Closed #6159

DmitriyKulagin avatar Mar 10 '23 08:03 DmitriyKulagin