HashCalculator.GUI/InputEntry.cs
2020-03-22 19:56:16 +01:00

40 lines
747 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TechnologyAssembler.Core.IO;
namespace HashCalculator.GUI
{
internal enum InputEntryType
{
Text,
BigFile,
ManifestFile,
XmlFile,
BinaryFile,
Path,
}
internal sealed class InputEntry
{
public InputEntryType Type { get; }
public string Value { get; }
public string Text { get; }
public InputEntry(InputEntryType type, string text, string value)
{
Type = type;
Text = text;
Value = value;
}
public override string ToString()
{
return Text;
}
}
}