You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dice_app/Sources/Model/Dice/Faces/Face.cs

19 lines
360 B

namespace Model.Dice.Faces
{
public abstract class Face
{
public string StringValue { get; protected set; }
}
public abstract class Face<T> : Face
{
public T Value { get; protected set; }
protected Face(T value)
{
Value = value;
StringValue = value.ToString();
}
}
}