2024-10-25 14:31:50 -04:00
|
|
|
// Copyright (C) 2024 Intro-Skipper contributors <intro-skipper.org>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-only.
|
2024-10-25 14:15:12 -04:00
|
|
|
|
2022-05-30 02:23:36 -05:00
|
|
|
using System;
|
|
|
|
|
2024-10-19 23:50:41 +02:00
|
|
|
namespace IntroSkipper.Data;
|
2022-05-30 02:23:36 -05:00
|
|
|
|
|
|
|
/// <summary>
|
2022-05-31 16:18:17 -05:00
|
|
|
/// Episode name and internal ID as returned by the visualization controller.
|
2022-05-30 02:23:36 -05:00
|
|
|
/// </summary>
|
2024-09-10 18:08:42 +02:00
|
|
|
/// <remarks>
|
|
|
|
/// Initializes a new instance of the <see cref="EpisodeVisualization"/> class.
|
|
|
|
/// </remarks>
|
|
|
|
/// <param name="id">Episode id.</param>
|
|
|
|
/// <param name="name">Episode name.</param>
|
|
|
|
public class EpisodeVisualization(Guid id, string name)
|
2022-05-30 02:23:36 -05:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the id.
|
|
|
|
/// </summary>
|
2024-09-10 18:08:42 +02:00
|
|
|
public Guid Id { get; private set; } = id;
|
2022-05-30 02:23:36 -05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the name.
|
|
|
|
/// </summary>
|
2024-09-10 18:08:42 +02:00
|
|
|
public string Name { get; private set; } = name;
|
2022-05-30 02:23:36 -05:00
|
|
|
}
|