C# Class GisterSpecs.MockGitHubSender

Inheritance: GitHubSender
显示文件 Open project: AppliedIS/Gister Class Usage Examples

Public Methods

Method Description
FailWith ( string statusDescription ) : void
SendGist ( string fileName, string content, GitHubCredentials credentials ) : string

Private Methods

Method Description
ShouldThrow ( ) : bool

Method Details

FailWith() public method

public FailWith ( string statusDescription ) : void
statusDescription string
return void

SendGist() public method

public SendGist ( string fileName, string content, GitHubCredentials credentials ) : string
fileName string
content string
credentials GitHubCredentials
return string