C# Class Microsoft.R.Components.Settings.Mirrors.CranMirrorList

Represents collection of CRAN mirrors. Default list is packaged as a CSV file in resources. Up to date list is downloaded and cached in TEMP folder when it is possible.
Mostra file Open project: Microsoft/RTVS

Public Properties

Property Type Description
DownloadComplete EventHandler

Public Methods

Method Description
Download ( ) : void

Initiates download of the CRAN mirror list fro the CRAN project site.

UrlFromName ( string name ) : string

Given CRAN mirror name returns its URL.

Private Methods

Method Description
OnDownloadFileCompleted ( object sender, AsyncCompletedEventArgs e ) : void
ReadCsv ( string content ) : void

Method Details

Download() public static method

Initiates download of the CRAN mirror list fro the CRAN project site.
public static Download ( ) : void
return void

UrlFromName() public static method

Given CRAN mirror name returns its URL.
public static UrlFromName ( string name ) : string
name string
return string

Property Details

DownloadComplete public_oe static_oe property

public static EventHandler DownloadComplete
return EventHandler