typechat.net
typechat.net copied to clipboard
Applying code style rules
Updating to latest style guidelines
- Newline between methods, properties, and after each closing brace
} - Adding visibility modifiers to all members
- Eliminating private member vars when a public auto-prop is available
- Using pattern matching for
is nullandis not null(instead of== nulland!= null) - Using expression syntax for single-line methods
- CancellationTokens parameters all called
cancellationToken(common across dotnet) and public async methods have a default value, making the cancellation token optional - Adding missing
ConfigureAwait(false)on some async calls - Other misc minor fixes and optimizations