Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 63a595be

Přidáno uživatelem Eliška Mourycová před téměř 4 roky(ů)

Added comments to Config class + run all tests

Zobrazit rozdíly:

Server/ServerApp/Program.cs
16 16

  
17 17
namespace ServerApp
18 18
{
19

  
19
	/// <summary>
20
	/// This class stores information extracted from the configuration file
21
	/// </summary>
20 22
	class Config
21 23
	{
24
		/// <summary>
25
		/// The site to download OpenData from
26
		/// </summary>
22 27
		public string DataWebsite { get; set; }
28

  
29
		/// <summary>
30
		/// The naming convention for the open data files 
31
		/// </summary>
23 32
		public string DownloadedFilesNaming { get; set; }
33

  
34
		/// <summary>
35
		/// The directory, where data files should be stored
36
		/// </summary>
24 37
		public string DataRootDir { get; set; }
38

  
39
		/// <summary>
40
		/// The site to download weather prediction from
41
		/// </summary>
25 42
		public string WeatherSite { get; set; }
43

  
44
		/// <summary>
45
		/// The port to listen on for clients' requests
46
		/// </summary>
26 47
		public string Port { get; set; } 
27 48
	}
28 49

  
29 50
    public class Program
30 51
    {
31
		// logger class instance
32
		private static readonly ILog logger = LogManager.GetLogger(typeof(Program));
33 52

  
34 53
		static void Main(string[] args)
35 54
        {

Také k dispozici: Unified diff