Created
December 16, 2018 11:45
-
-
Save MarcBruins/f72b433ff97e8fd5129482c08f5d62a7 to your computer and use it in GitHub Desktop.
Fix nullable constructor params
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AuthSettings | |
{ | |
public AuthSettings(Uri apiBase, string token, string? username) | |
{ | |
Username = username; | |
//Handle other params | |
} | |
public string? Username { get; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment