C# Class Microsoft.OfficeProPlus.Downloader.ProPlusDownloader

Mostrar archivo Open project: OfficeDev/Office-IT-Pro-Deployment-Scripts Class Usage Examples

Private Properties

Property Type Description
GenerateUpdateFiles UpdateFiles

Public Methods

Method Description
DownloadBranch ( DownloadBranchProperties properties, CancellationToken token = newCancellationToken() ) : Task
DownloadCabAsync ( ) : Task>
GetCabVersion ( string xmlFilePath ) : string
GetChannelBaseUrlAsync ( string channel, OfficeEdition officeEdition ) : Task
GetChannelNameFromUrlAsync ( string channelUrl, OfficeEdition officeEdition ) : Task
GetChannelVersionJson ( ) : Task
GetLatestVersionAsync ( baseURL branchUrl, OfficeEdition officeEdition ) : Task
GetLatestVersionAsync ( string branch, OfficeEdition officeEdition ) : Task
ValidateSourceFiles ( DownloadBranchProperties properties, CancellationToken token = newCancellationToken() ) : Task

Private Methods

Method Description
GenerateUpdateFiles ( string xmlFilePath ) : UpdateFiles

Method Details

DownloadBranch() public method

public DownloadBranch ( DownloadBranchProperties properties, CancellationToken token = newCancellationToken() ) : Task
properties DownloadBranchProperties
token System.Threading.CancellationToken
return Task

DownloadCabAsync() public method

public DownloadCabAsync ( ) : Task>
return Task>

GetCabVersion() public method

public GetCabVersion ( string xmlFilePath ) : string
xmlFilePath string
return string

GetChannelBaseUrlAsync() public method

public GetChannelBaseUrlAsync ( string channel, OfficeEdition officeEdition ) : Task
channel string
officeEdition OfficeEdition
return Task

GetChannelNameFromUrlAsync() public method

public GetChannelNameFromUrlAsync ( string channelUrl, OfficeEdition officeEdition ) : Task
channelUrl string
officeEdition OfficeEdition
return Task

GetChannelVersionJson() public method

public GetChannelVersionJson ( ) : Task
return Task

GetLatestVersionAsync() public method

public GetLatestVersionAsync ( baseURL branchUrl, OfficeEdition officeEdition ) : Task
branchUrl Microsoft.OfficeProPlus.Downloader.Model.baseURL
officeEdition OfficeEdition
return Task

GetLatestVersionAsync() public method

public GetLatestVersionAsync ( string branch, OfficeEdition officeEdition ) : Task
branch string
officeEdition OfficeEdition
return Task

ValidateSourceFiles() public method

public ValidateSourceFiles ( DownloadBranchProperties properties, CancellationToken token = newCancellationToken() ) : Task
properties DownloadBranchProperties
token System.Threading.CancellationToken
return Task