C# Class GitHub.Models.UserAndScopes

Holds an Octokit.User model together with the OAuth scopes that were received when the user was read.
ファイルを表示 Open project: github/VisualStudio Class Usage Examples

Public Methods

Method Description
UserAndScopes ( Octokit.User user, IReadOnlyList scopes ) : System.Collections.Generic

Initializes a new instance of the UserAndScopes class.

Method Details

UserAndScopes() public method

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.
return System.Collections.Generic