progress
This commit is contained in:
parent
16e76d6b31
commit
484dbfc9d9
529 changed files with 113694 additions and 0 deletions
41
AspClassic.Parser/ExternalChecksum.cs
Normal file
41
AspClassic.Parser/ExternalChecksum.cs
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue