This commit is contained in:
Jelle Luteijn 2022-05-15 11:19:49 +02:00
parent 16e76d6b31
commit 484dbfc9d9
529 changed files with 113694 additions and 0 deletions

View file

@ -0,0 +1,41 @@
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;
}
}