Move to separate file

Former-commit-id: 293ac4306a
This commit is contained in:
Malte Rosenbjerg 2020-02-27 18:32:45 +01:00
parent 3ff253f744
commit 616a6d1c7d

View file

@ -15,24 +15,6 @@ public ConstantRateFactorArgument(int crf) : base(crf)
} }
} }
public override string GetStringValue()
{
return $"-crf {Value} ";
}
}
/// <summary>
/// Constant Rate Factor (CRF) argument
/// </summary>
public class Variable : Argument<int>
{
public ConstantRateFactorArgument(int crf) : base(crf)
{
if (crf < 0 || crf > 63)
{
throw new ArgumentException("Argument is outside range (0 - 63)", nameof(crf));
}
}
public override string GetStringValue() public override string GetStringValue()
{ {
return $"-crf {Value} "; return $"-crf {Value} ";