C# Class ReleaseCandidateTracker.DocumentSessionExtensions

Mostra file Open project: SzymonPobiega/ReleaseCandidateTracker

Public Methods

Method Description
GetAttachmentResult ( this documentSession, string key ) : System.Web.Mvc.ActionResult
GetCandidate ( this documentSession, string versionNumber ) : ReleaseCandidate
GetEnvironment ( this documentSession, string name ) : ReleaseCandidateTracker.Models.DeploymentEnvironment
GetSettings ( this documentSession ) : Settings
PutAttachment ( this documentSession, string key, string contentType, Stream fileContents ) : void

Method Details

GetAttachmentResult() public static method

public static GetAttachmentResult ( this documentSession, string key ) : System.Web.Mvc.ActionResult
documentSession this
key string
return System.Web.Mvc.ActionResult

GetCandidate() public static method

public static GetCandidate ( this documentSession, string versionNumber ) : ReleaseCandidate
documentSession this
versionNumber string
return ReleaseCandidateTracker.Models.ReleaseCandidate

GetEnvironment() public static method

public static GetEnvironment ( this documentSession, string name ) : ReleaseCandidateTracker.Models.DeploymentEnvironment
documentSession this
name string
return ReleaseCandidateTracker.Models.DeploymentEnvironment

GetSettings() public static method

public static GetSettings ( this documentSession ) : Settings
documentSession this
return ReleaseCandidateTracker.Models.Settings

PutAttachment() public static method

public static PutAttachment ( this documentSession, string key, string contentType, Stream fileContents ) : void
documentSession this
key string
contentType string
fileContents System.IO.Stream
return void