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
显示文件 Open project: github/VisualStudio Class Usage Examples

Public Methods

Method Description
OnEntry ( ) : void
OnExit ( ) : void

Protected Methods

Method 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 method

protected static CreateOctokitOrganization ( string login ) : Organization
login string
return Organization

CreateOctokitUser() protected static method

protected static CreateOctokitUser ( string login = "login", string url = "https://url" ) : User
login string
url string
return User

CreatePullRequest() protected static method

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
return Octokit.PullRequest

CreateRepository() protected static method

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
return Repository

CreateUserAndScopes() protected static method

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

OnEntry() public method

public OnEntry ( ) : void
return void

OnExit() public method

public OnExit ( ) : void
return void