Brightspace / D2L.CodeStyle

Annotations and analysis tools for D2L C# code style
Apache License 2.0
10 stars 22 forks source link

LFT-1285 - Allow users to suppress the sync generator #951

Closed j3parker closed 4 months ago

j3parker commented 4 months ago

This will allow .NET core projects to not generate sync stuff (which will often not want to support sync)

j3parker commented 4 months ago

The first place I'd like to use this is D2L.Security.OAuth2, to remove sync from the .NET Core build.

It's not so much about the implementation of the sync stuff, but the fact that the public interfaces gain sync methods and thus we're forcing users of the library to maintain sync implementations (which may not be feasible in .NET core)