C# Class Sogeti.Provisioning.DataAccess.Repositories.TemplateFilesBlobRepository

Inheritance: ITemplateFilesBlobRepository
Datei anzeigen Open project: sogeti/Site-provisioning Class Usage Examples

Public Methods

Method Description
CheckFile ( string scriptSrc ) : bool
GetFile ( string fileName, string nameTemplate = "" ) : string
GetFileExt ( string ext, string nameTemplate = "" ) : string
SaveToBlob ( System.Web.HttpPostedFileBase siteProvisioningFile, string nameTemplate ) : System.Threading.Tasks.Task
TemplateFilesBlobRepository ( ) : System.IO

Private Methods

Method Description
GetBlobContainer ( ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer
SaveToBlobStorage ( Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, System.Web.HttpPostedFileBase file, string nameTemplate ) : System.Threading.Tasks.Task

Method Details

CheckFile() public method

public CheckFile ( string scriptSrc ) : bool
scriptSrc string
return bool

GetFile() public method

public GetFile ( string fileName, string nameTemplate = "" ) : string
fileName string
nameTemplate string
return string

GetFileExt() public method

public GetFileExt ( string ext, string nameTemplate = "" ) : string
ext string
nameTemplate string
return string

SaveToBlob() public method

public SaveToBlob ( System.Web.HttpPostedFileBase siteProvisioningFile, string nameTemplate ) : System.Threading.Tasks.Task
siteProvisioningFile System.Web.HttpPostedFileBase
nameTemplate string
return System.Threading.Tasks.Task

TemplateFilesBlobRepository() public method

public TemplateFilesBlobRepository ( ) : System.IO
return System.IO