Exemplo n.º 1
0
        private static string GenerateData(RmV3Property rmProperty)
        {
            var sb = new StringBuilder();
            foreach (var pair in rmProperty.PropertyFields)
            {
                sb.Append($"{pair.Value}{Constants.EndOfFieldDelimiter}");
            }

            sb.Append(Constants.EndOfRowDelimiter);

            return sb.ToString();
        }
Exemplo n.º 2
0
        private static string GenerateDefinition(RmV3Property rmProperty)
        {
            var sb = new StringBuilder();

            sb.AppendLine("#DEFINITION#");

            foreach (var pair in rmProperty.PropertyFields)
            {
                sb.Append($"{pair.Field}{Constants.EndOfFieldDelimiter}");
            }

            sb.AppendLine(Constants.EndOfRowDelimiter);

            return sb.ToString();
        }