|
static void | Main (string[] args) |
| The main entry point for the application. More...
|
|
static void | RunDownload (IDataDownloader dataDownloader, DataDownloadConfig dataDownloadConfig, string dataDirectory, IDataCacheProvider dataCacheProvider, bool mapSymbol=true) |
| Executes a data download operation using the specified data downloader. More...
|
|
static void | InitializeConfigurations () |
| Initializes various configurations for the application. This method sets up logging, data providers, map file providers, and factor file providers. More...
|
|
Definition at line 29 of file Program.cs.
◆ Main()
static void Program.Main |
( |
string[] |
args | ) |
|
|
static |
The main entry point for the application.
- Parameters
-
args | Command-line arguments passed to the application. |
Definition at line 55 of file Program.cs.
◆ RunDownload()
static void Program.RunDownload |
( |
IDataDownloader |
dataDownloader, |
|
|
DataDownloadConfig |
dataDownloadConfig, |
|
|
string |
dataDirectory, |
|
|
IDataCacheProvider |
dataCacheProvider, |
|
|
bool |
mapSymbol = true |
|
) |
| |
|
static |
Executes a data download operation using the specified data downloader.
- Parameters
-
dataDownloader | An instance of an object implementing the IDataDownloader interface, responsible for downloading data. |
dataDownloadConfig | Configuration settings for the data download operation. |
dataDirectory | The directory where the downloaded data will be stored. |
dataCacheProvider | The provider used to cache history data files |
mapSymbol | True if the symbol should be mapped while writing the data |
- Exceptions
-
ArgumentNullException | Thrown when dataDownloader is null. |
Definition at line 81 of file Program.cs.
◆ InitializeConfigurations()
static void Program.InitializeConfigurations |
( |
| ) |
|
|
static |
Initializes various configurations for the application. This method sets up logging, data providers, map file providers, and factor file providers.
The method reads configuration values to determine whether debugging is enabled, which log handler to use, and which data, map file, and factor file providers to initialize.
- See also
- Log, Config, Composer, ILogHandler, IDataProvider, IMapFileProvider, IFactorFileProvider
Definition at line 175 of file Program.cs.
The documentation for this class was generated from the following file: