Beispiel #1
0
 internal EnumerationTypeDescriptor(string name, NamespaceDescriptor nameSpace)
     : base(name, nameSpace)
 {
     _items = new List <ItemDescriptor>();
 }
Beispiel #2
0
 public void Add(NamespaceDescriptor ns)
 {
     Require.That(() => !_namespaces.Any(_ => _.Name == ns.Name), () => "Namespace with name " + ns.Name + "] already exists");
     _namespaces.Add(ns);
 }
 public CompositeTypeDescriptor(string name, NamespaceDescriptor nameSpace)
     : this(name, nameSpace, null, null)
 {
 }