示例#1
0
        /// <inheritdoc/>
        public string ToDelimitedString()
        {
            CultureInfo culture = CultureInfo.CurrentCulture;

            return(string.Format(
                       culture,
                       StringHelper.StringFormatSequence(0, 9, Configuration.FieldSeparator),
                       Id,
                       UniversalServiceIdentifier?.ToDelimitedString(),
                       AutoDilutionFactor?.ToDelimitedString(),
                       RerunDilutionFactor?.ToDelimitedString(),
                       PreDilutionFactor?.ToDelimitedString(),
                       EndogenousContentOfPreDilutionDiluent?.ToDelimitedString(),
                       AutomaticRepeatAllowed,
                       ReflexAllowed,
                       AnalyteRepeatStatus?.ToDelimitedString()
                       ).TrimEnd(Configuration.FieldSeparator.ToCharArray()));
        }
示例#2
0
        /// <inheritdoc/>
        public string ToDelimitedString()
        {
            CultureInfo culture = CultureInfo.CurrentCulture;

            return(string.Format(
                       culture,
                       StringHelper.StringFormatSequence(0, 12, Configuration.FieldSeparator),
                       Id,
                       UniversalServiceIdentifier?.ToDelimitedString(),
                       AutoDilutionFactor?.ToDelimitedString(),
                       RerunDilutionFactor?.ToDelimitedString(),
                       PreDilutionFactor?.ToDelimitedString(),
                       EndogenousContentOfPreDilutionDiluent?.ToDelimitedString(),
                       AutomaticRepeatAllowed,
                       ReflexAllowed,
                       AnalyteRepeatStatus?.ToDelimitedString(),
                       SpecimenConsumptionQuantity?.ToDelimitedString(),
                       PoolSize.HasValue ? PoolSize.Value.ToString(Consts.NumericFormat, culture) : null,
                       AutoDilutionType?.ToDelimitedString()
                       ).TrimEnd(Configuration.FieldSeparator.ToCharArray()));
        }