private ConformanceIdnaTestResult(string entry, string fallbackValue, string statusValue, string statusFallbackValue, bool useValueForStatus, IdnaTestResultType resultType) { ResultType = resultType; SetValue(string.IsNullOrEmpty(entry.Trim()) ? fallbackValue : entry); SetSuccess(useValueForStatus ? Value : string.IsNullOrEmpty(statusValue.Trim()) ? statusFallbackValue : statusValue); }
public ConformanceIdnaTestResult(string entry, string fallbackValue, string statusValue, string statusFallbackValue, IdnaTestResultType resultType = IdnaTestResultType.ToAscii) : this(entry, fallbackValue, statusValue, statusFallbackValue, useValueForStatus : false, resultType) { }