intro-skipper/IntroSkipper/Data/EpisodeVisualization.cs

28 lines
738 B
C#
Raw Permalink Normal View History

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;
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>
/// <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>
public Guid Id { get; private set; } = id;
2022-05-30 02:23:36 -05:00
/// <summary>
/// Gets the name.
/// </summary>
public string Name { get; private set; } = name;
2022-05-30 02:23:36 -05:00
}