Exemple #1
0
        /// <summary>
        /// Constructor initializes fields
        /// </summary>
        public Presentations()
        {
            var random = new Random();

            this.URI    = $"wikipedia.org/wiki/presentations/{this.uris[random.Next(this.uris.Count)]}";
            this.Format = (FormatPresentations)random.Next(Enum.GetNames(typeof(FormatPresentations)).Length);
        }
Exemple #2
0
 /// <summary>
 /// Сopy constructor
 /// </summary>
 /// <param name="URI">URI</param>
 /// <param name="Format">Format</param>
 public Presentations(string URI, FormatPresentations Format)
 {
     this.URI    = URI;
     this.Format = Format;
 }