C# Class FluentBuild.Publishing.GoogleCode

Publishes a file to GoogleCode
Inheritance: FluentBuild.Utilities.InternalExecutable
Mostra file Open project: SkightTeam/eLiteWeb Class Usage Examples

Public Methods

Method Description
GoogleCode ( ) : System
LocalFileName ( string path ) : GoogleCode

Gets or sets the local path of the file to upload.

Password ( string password ) : GoogleCode

Gets or sets the Google Code password (not the same as the gmail password).

ProjectName ( string name ) : GoogleCode

Gets or sets the Google Code project name to upload to.

Summary ( string data ) : GoogleCode

Gets or sets the summary of the upload.

TargetFileName ( string targetName ) : GoogleCode

Gets or sets the file name that this file will be given on Google Code.

UserName ( string username ) : GoogleCode

Gets or sets Google user name to authenticate as (this is just the username part, don't include the @gmail.com part.

Private Methods

Method Description
CreateAuthorizationToken ( string username, string password ) : string

Creates the authorization token.

CreateRequest ( ) : HttpWebRequest
CreateRequestContent ( Stream stream ) : void
InternalExecute ( ) : void
Upload ( ) : void
Validate ( ) : void
ValidateString ( string value, string friendlyName ) : void
WriteFile ( Stream outputStream, string fileToWrite ) : void

Writes the specified file to the specified stream.

WriteLine ( Stream outputStream, string valueToWrite ) : void

Writes the string to the specified stream and concatenates a newline.

Method Details

GoogleCode() public method

public GoogleCode ( ) : System
return System

LocalFileName() public method

Gets or sets the local path of the file to upload.
public LocalFileName ( string path ) : GoogleCode
path string
return GoogleCode

Password() public method

Gets or sets the Google Code password (not the same as the gmail password).
public Password ( string password ) : GoogleCode
password string
return GoogleCode

ProjectName() public method

Gets or sets the Google Code project name to upload to.
public ProjectName ( string name ) : GoogleCode
name string
return GoogleCode

Summary() public method

Gets or sets the summary of the upload.
public Summary ( string data ) : GoogleCode
data string
return GoogleCode

TargetFileName() public method

Gets or sets the file name that this file will be given on Google Code.
public TargetFileName ( string targetName ) : GoogleCode
targetName string
return GoogleCode

UserName() public method

Gets or sets Google user name to authenticate as (this is just the username part, don't include the @gmail.com part.
public UserName ( string username ) : GoogleCode
username string
return GoogleCode