添加项目文件。

This commit is contained in:
2026-04-30 21:08:28 +08:00
parent c60f5fe117
commit cc017b6495
327 changed files with 12860 additions and 0 deletions
@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileService.Domain.ValueObjects
{
public class CheckSum
{
public string Algorithm { get; }
public string Value { get; }
public CheckSum(string algorithm, string value)
{
Algorithm = algorithm;
Value = value;
}
public override string ToString()
{
return Value;
}
public static implicit operator CheckSum((string algorithm, string value) value)
{
return new CheckSum(value.algorithm, value.value);
}
}
}