C# Class GitHub.Models.UserAndScopes

Holds an Octokit.User model together with the OAuth scopes that were received when the user was read.
Afficher le fichier Open project: github/VisualStudio Class Usage Examples

Méthodes publiques

Méthode Description
UserAndScopes ( Octokit.User user, IReadOnlyList scopes ) : System.Collections.Generic

Initializes a new instance of the UserAndScopes class.

Method Details

UserAndScopes() public méthode

Initializes a new instance of the UserAndScopes class.
public UserAndScopes ( Octokit.User user, IReadOnlyList scopes ) : System.Collections.Generic
user Octokit.User The user information.
scopes IReadOnlyList The scopes. May be null.
Résultat System.Collections.Generic