aspclassic-core/AspClassic.Parser/ExternalChecksum.cs
Jelle Luteijn 484dbfc9d9 progress
2022-05-15 11:19:49 +02:00

41 lines
955 B
C#

namespace AspClassic.Parser;
/// <summary>
/// An external checksum for a file.
/// </summary>
public sealed class ExternalChecksum
{
private readonly string _Filename;
private readonly string _Guid;
private readonly string _Checksum;
/// <summary>
/// The filename that the checksum is for.
/// </summary>
public string Filename => _Filename;
/// <summary>
/// The guid of the file.
/// </summary>
public string Guid => _Guid;
/// <summary>
/// The checksum for the file.
/// </summary>
public string Checksum => _Checksum;
/// <summary>
/// Constructs a new external checksum.
/// </summary>
/// <param name="filename">The filename that the checksum is for.</param>
/// <param name="guid">The guid of the file.</param>
/// <param name="checksum">The checksum for the file.</param>
public ExternalChecksum(string filename, string guid, string checksum)
{
_Filename = filename;
_Guid = guid;
_Checksum = checksum;
}
}