public override void ParseLine(string line, VCard vcard) { var match = Regex.Match(line, RegexPattern); var value = match.Groups[1].Value; var nameParts = value.Split(new[] { ";" }, StringSplitOptions.RemoveEmptyEntries); vcard.Name = nameParts; }
public abstract void ParseLine(string line, VCard vcard);
public override void ParseLine(string line, VCard vcard) { Match match = Regex.Match(line, RegexPattern, RegexOptions.IgnoreCase); var value = match.Groups[1].Value; vcard.FullName = value; }
public virtual void before_each_test() { VCard = new VCard(); }