public override void SetValue(UciOption other) { if (GetType() != other.GetType()) { throw new ArgumentException("Option type different"); } Value = ((CheckUciOption)other).Value; }
public abstract void SetValue(UciOption other);