Relative Content

Tag Archive for c#parameterscancellation-token

Optional parameters and CancellationToken

As I understand, it’s good practice on public APIs to have the CancellationToken parameter as the last one and for it to be optional with a default value of None.