C# Class TestBaseClass, VisualStudio

This base class will get its methods called by the most-derived classes. The calls are injected by the EntryExitMethodDecorator Fody addin, so don't be surprised if you don't see any calls in the code.
Inheritance: IEntryExitDecorator
Afficher le fichier Open project: github/VisualStudio Class Usage Examples

Méthodes publiques

Méthode Description
OnEntry ( ) : void
OnExit ( ) : void

Méthodes protégées

Méthode Description
CreateOctokitOrganization ( string login ) : Organization
CreateOctokitUser ( string login = "login", string url = "https://url" ) : User
CreatePullRequest ( User user, int id, ItemState, state, string title, DateTimeOffset createdAt, DateTimeOffset updatedAt, int commentCount, int reviewCommentCount ) : Octokit.PullRequest
CreateRepository ( string owner, string name, string domain = "github.com", long id = 1, Repository parent = null ) : Repository
CreateUserAndScopes ( string login, string scopes = null ) : UserAndScopes

Method Details

CreateOctokitOrganization() protected static méthode

protected static CreateOctokitOrganization ( string login ) : Organization
login string
Résultat Organization

CreateOctokitUser() protected static méthode

protected static CreateOctokitUser ( string login = "login", string url = "https://url" ) : User
login string
url string
Résultat User

CreatePullRequest() protected static méthode

protected static CreatePullRequest ( User user, int id, ItemState, state, string title, DateTimeOffset createdAt, DateTimeOffset updatedAt, int commentCount, int reviewCommentCount ) : Octokit.PullRequest
user User
id int
state ItemState,
title string
createdAt DateTimeOffset
updatedAt DateTimeOffset
commentCount int
reviewCommentCount int
Résultat Octokit.PullRequest

CreateRepository() protected static méthode

protected static CreateRepository ( string owner, string name, string domain = "github.com", long id = 1, Repository parent = null ) : Repository
owner string
name string
domain string
id long
parent Repository
Résultat Repository

CreateUserAndScopes() protected static méthode

protected static CreateUserAndScopes ( string login, string scopes = null ) : UserAndScopes
login string
scopes string
Résultat GitHub.Models.UserAndScopes

OnEntry() public méthode

public OnEntry ( ) : void
Résultat void

OnExit() public méthode

public OnExit ( ) : void
Résultat void