예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Subtitle"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="downloadUrl">The download URL.</param>
 /// <param name="rating">The rating.</param>
 public Subtitle(string name, string description, string downloadUrl, Rating rating, ISubtitleDb dataSource)
     : base(name, description, rating)
 {
     this.DownloadUrl = downloadUrl;
     this.DataSource  = dataSource;
 }
예제 #2
0
 /// <summary>Initializes a new instance of the <see cref="MainViewController" /> class.</summary>
 /// <param name="filePath">The file path.</param>
 /// <param name="view">The view.</param>
 /// <param name="db">The database.</param>
 public MainViewController(string filePath, IView view, ISubtitleDb db)
 {
     this.FilePath = filePath;
     this.view = view;
     this.db = db;
 }
예제 #3
0
 /// <summary>Initializes a new instance of the <see cref="MainViewController" /> class.</summary>
 /// <param name="filePath">The file path.</param>
 /// <param name="view">The view.</param>
 /// <param name="db">The database.</param>
 public MainViewController(string filePath, IView view, ISubtitleDb db)
 {
     this.FilePath = filePath;
     this.view     = view;
     this.db       = db;
 }