Skip to content

Instantly share code, notes, and snippets.

@MarcBruins
Last active December 16, 2018 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcBruins/ff1c4f63f308ebfd018c0d5bde42e1b2 to your computer and use it in GitHub Desktop.
Save MarcBruins/ff1c4f63f308ebfd018c0d5bde42e1b2 to your computer and use it in GitHub Desktop.
Nullable contructor parameter
public class AuthSettings
{
public AuthSettings(Uri apiBase, string token, string username = null)
{
ApiBase = apiBase;
Token = token;
Username = username;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment