protected override void Append(Representation.RepresentationSystem.NumericRepresentation representation, StringBuilder stringBuilder) { string representationName = representation.DomainId.Replace("\r", "") .Replace("[", "") .Replace("]", "") .Replace("(", "") .Replace(")", "") .Replace("-", "") .Replace("–", "") .Replace(" ", ""); stringBuilder.Append(String.Format(RepresentationPattern, typeof(NumericRepresentation).Name, representation.DomainId)); stringBuilder.Append("\n\n"); }
protected override void Append(Representation.RepresentationSystem.EnumeratedRepresentation definedRepresentation, StringBuilder stringBuilder) { stringBuilder.Append(String.Format(RepresentationPattern, typeof(EnumeratedRepresentation).Name, definedRepresentation.DomainId)); stringBuilder.Append("\n\n"); }