public void Visit(Header header) { foreach (string include in header.Includes) { sb.Append("Include : ").AppendLine(include); } if (!string.IsNullOrEmpty(header.DefaultNamespace)) { sb.Append("Default namespace : ").AppendLine(header.DefaultNamespace); } foreach (string nsScope in header.Namespaces.Keys) { sb.Append("Namespace ").Append(nsScope).Append(" ").AppendLine(header.Namespaces[nsScope]); } }
public void Visit(Header header) { throw new NotImplementedException(); }
public Document(Header header, List<Definition> definitions) { //Header = header; Header = Enforce.IsNotNull<Header>(header, "header"); Definitions = Enforce.IsNotNull<List<Definition>>(definitions, "definitions"); }