[csdoc-patches] csdoc/src/mcsdoc/MCSDoc AccessFlags.cs,NONE,1.1 IDelegateDoc.cs,NONE,1.1 IEnumDoc.cs
Status: Planning
Brought to you by:
mastergaurav
From: <mas...@us...> - 2004-10-30 16:04:55
|
Update of /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv730 Modified Files: AttributeDoc.cs ChangeLog ClassDoc.cs ClassDocList.cs DocTreeGenerator.cs IContainerDoc.cs IInterfaceDoc.cs NamespaceDoc.cs RootDoc.cs Added Files: AccessFlags.cs IDelegateDoc.cs IEnumDoc.cs IFieldDoc.cs IMethodDoc.cs IPropertyDoc.cs Log Message: 2004-10-30 Gaurav Vaish <mastergaurav AT users DOT sf DOT net> * AccessFlags.cs : Added enumeration. * AttributeDoc.cs : Missing ';'. * ClassDocList.cs : Typo fixed. It should implement IEnumerable * DocTreeGenerator.cs : ParseNamespaces() - Refer to interfaces. StructDoc/ClassDoc to IStructDoc/IClassDoc * IContainer.cs : IMemberDoc renamed to IFieldDoc * IEnumDoc.cs : Added interface for enum-doc. * IFieldDoc.cs : Added interface for class/struct fields-doc * IMethodDoc.cs : Added itnerface for method-doc. --- NEW FILE: AccessFlags.cs --- #region Copyright Notice /** * Project: Master C# Document Generator * Contact: mas...@us... * Web: http://csdoc.sourceforge.net * * $Id: AccessFlags.cs,v 1.1 2004/10/30 16:04:42 mastergaurav Exp $ * Copyright: (C) 2003, Gaurav Vaish * */ #endregion using Mono.CSharp; using System; namespace MCSDoc { public enum AccessFlags { Public, Private, Protected, Internal, ProtectedInternal } } --- NEW FILE: IDelegateDoc.cs --- #region Copyright Notice /** * Project: Master C# Document Generator * Contact: mas...@us... * Web: http://csdoc.sourceforge.net * * $Id: IDelegateDoc.cs,v 1.1 2004/10/30 16:04:43 mastergaurav Exp $ * Copyright: (C) 2003, Gaurav Vaish * */ #endregion using Mono.CSharp; namespace MCSDoc { public interface IDelegateDoc { /// <summary> /// Returns document element for the /// base class, if any. /// </summary> IClassDoc BaseClassDoc { get; } string NamespaceName { get; } // Need to get documentation // for the signature } } --- NEW FILE: IEnumDoc.cs --- #region Copyright Notice /** * Project: Master C# Document Generator * Contact: mas...@us... * Web: http://csdoc.sourceforge.net * * $Id: IEnumDoc.cs,v 1.1 2004/10/30 16:04:43 mastergaurav Exp $ * Copyright: (C) 2003, Gaurav Vaish * */ #endregion using Mono.CSharp; namespace MCSDoc { public interface IEnumDoc { /// <summary> /// Returns document element for the /// base class, if any. /// </summary> IClassDoc BaseClass { get; } string NamespaceName { get; } // Need to get documentation // for each member also } } --- NEW FILE: IFieldDoc.cs --- #region Copyright Notice /** * Project: Master C# Document Generator * Contact: mas...@us... * Web: http://csdoc.sourceforge.net * * $Id: IFieldDoc.cs,v 1.1 2004/10/30 16:04:43 mastergaurav Exp $ * Copyright: (C) 2003, Gaurav Vaish * */ #endregion using Mono.CSharp; namespace MCSDoc { public interface IFieldDoc { //Documentation for the field } } --- NEW FILE: IMethodDoc.cs --- #region Copyright Notice /** * Project: Master C# Document Generator * Contact: mas...@us... * Web: http://csdoc.sourceforge.net * * $Id: IMethodDoc.cs,v 1.1 2004/10/30 16:04:43 mastergaurav Exp $ * Copyright: (C) 2003, Gaurav Vaish * */ #endregion using Mono.CSharp; namespace MCSDoc { public interface IMethodDoc { //Documentation for the method } } --- NEW FILE: IPropertyDoc.cs --- #region Copyright Notice /** * Project: Master C# Document Generator * Contact: mas...@us... * Web: http://csdoc.sourceforge.net * * $Id: IPropertyDoc.cs,v 1.1 2004/10/30 16:04:43 mastergaurav Exp $ * Copyright: (C) 2003, Gaurav Vaish * */ #endregion using Mono.CSharp; namespace MCSDoc { public interface IPropertyDoc { //Documentation for the property } } Index: AttributeDoc.cs =================================================================== RCS file: /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc/AttributeDoc.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AttributeDoc.cs 30 Oct 2004 14:26:14 -0000 1.1 --- AttributeDoc.cs 30 Oct 2004 16:04:42 -0000 1.2 *************** *** 29,33 **** get { ! throw new NotImplementedException() } } --- 29,33 ---- get { ! throw new NotImplementedException(); } } *************** *** 37,41 **** get { ! throw new NotImplementedException() } } --- 37,41 ---- get { ! throw new NotImplementedException(); } } Index: ChangeLog =================================================================== RCS file: /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog 30 Oct 2004 14:30:30 -0000 1.2 --- ChangeLog 30 Oct 2004 16:04:42 -0000 1.3 *************** *** 3,6 **** --- 3,19 ---- 2004-10-30 Gaurav Vaish <mastergaurav AT users DOT sf DOT net> + * AccessFlags.cs : Added enumeration. + * AttributeDoc.cs : Missing ';'. + * ClassDocList.cs : Typo fixed. + It should implement IEnumerable + * DocTreeGenerator.cs : ParseNamespaces() - Refer to interfaces. + StructDoc/ClassDoc to IStructDoc/IClassDoc + * IContainer.cs : IMemberDoc renamed to IFieldDoc + * IEnumDoc.cs : Added interface for enum-doc. + * IFieldDoc.cs : Added interface for class/struct fields-doc + * IMethodDoc.cs : Added itnerface for method-doc. + + 2004-10-30 Gaurav Vaish <mastergaurav AT users DOT sf DOT net> + * RootDoc.cs : NamespaceLookup(string) - Don't return evaluating the value. Index: ClassDoc.cs =================================================================== RCS file: /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc/ClassDoc.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ClassDoc.cs 30 Oct 2004 14:26:14 -0000 1.1 --- ClassDoc.cs 30 Oct 2004 16:04:43 -0000 1.2 *************** *** 78,81 **** --- 78,97 ---- } + public string Comments + { + get + { + throw new NotImplementedException(); + } + } + + public AccessFlags AccessFlags + { + get + { + throw new NotImplementedException(); + } + } + public string Name { *************** *** 126,130 **** } ! public IContainerDoc Container { get --- 142,146 ---- } ! public IContainerDoc ContainerDoc { get *************** *** 134,137 **** --- 150,225 ---- } + public IAttributeDoc[] Attributes + { + get + { + throw new NotImplementedException(); + } + } + + public IMethodDoc[] Methods + { + get + { + throw new NotImplementedException(); + } + } + + public IPropertyDoc[] Properties + { + get + { + throw new NotImplementedException(); + } + } + + public IFieldDoc[] Fields + { + get + { + throw new NotImplementedException(); + } + } + + public IClassDoc[] InnerClasses + { + get + { + throw new NotImplementedException(); + } + } + + public IDelegateDoc[] InnerDelegates + { + get + { + throw new NotImplementedException(); + } + } + + public IEnumDoc[] InnerEnums + { + get + { + throw new NotImplementedException(); + } + } + + public IInterfaceDoc[] InnerInterfaces + { + get + { + throw new NotImplementedException(); + } + } + + public IStructDoc[] InnerStructs + { + get + { + throw new NotImplementedException(); + } + } + public int CompareTo(object obj) { Index: ClassDocList.cs =================================================================== RCS file: /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc/ClassDocList.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ClassDocList.cs 30 Oct 2004 14:26:14 -0000 1.1 --- ClassDocList.cs 30 Oct 2004 16:04:43 -0000 1.2 *************** *** 9,12 **** --- 9,13 ---- */ + using System; using Mono.CSharp; using System.Collections; *************** *** 14,18 **** namespace MCSDoc { ! public class ClassDocList : IEnumerator { private ArrayList classDocs = new ArrayList(); --- 15,19 ---- namespace MCSDoc { ! public class ClassDocList : IEnumerable { private ArrayList classDocs = new ArrayList(); *************** *** 38,45 **** get { ! if(index >= 0 && index < classDocc.Count) { return (IClassDoc)classDocs[index]; } } set --- 39,47 ---- get { ! if(index >= 0 && index < classDocs.Count) { return (IClassDoc)classDocs[index]; } + throw new ArgumentException();//IndexOutOfRangeException(); } set *************** *** 67,71 **** } ! public Enumerator GetEnumerator() { return classDocs.GetEnumerator(); --- 69,73 ---- } ! public IEnumerator GetEnumerator() { return classDocs.GetEnumerator(); Index: DocTreeGenerator.cs =================================================================== RCS file: /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc/DocTreeGenerator.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DocTreeGenerator.cs 30 Oct 2004 14:26:14 -0000 1.1 --- DocTreeGenerator.cs 30 Oct 2004 16:04:43 -0000 1.2 *************** *** 46,50 **** //ParseEnums(root.Enums); //ParseInterfaces(root.Interfaces); ! ParseCotnainer(root); //First need to populate [allNamespaces] --- 46,50 ---- //ParseEnums(root.Enums); //ParseInterfaces(root.Interfaces); ! ParseContainer(root); //First need to populate [allNamespaces] *************** *** 68,109 **** private void ParseNamespaces() { ! foreach(ClassDoc cd in this.allClasses) { ! if(cd.Namespace.Name != null) { ! OptNamespaceAdd(cd.Namespace.Name); } } ! foreach(StructDoc sd in this.allStructs) { ! if(sd.Namespace.Name != null) { ! OptNamespaceAdd(sd.Namespace.Name); } } ! foreach(EnumDoc ed in this.allEnums) { ! if(ed.Namespace.Name != null) { ! OptNamespaceAdd(ed.Namespace.Name); } } ! foreach(InterfaceDoc id in this.allInterfaces) { ! if(id.Namespace.Name != null) { ! OptNamespaceAdd(id.Namespace.Name); } } ! foreach(DelegateDoc dd in this.allDelegates) { ! if(dd.Namespace.Name != null) { ! OptNamespaceAdd(dd.Namespace.Name); } } } --- 68,115 ---- private void ParseNamespaces() { ! foreach(IClassDoc cd in this.allClasses) { ! if(cd.NamespaceName != null) { ! OptNamespaceAdd(cd.NamespaceName); } } ! foreach(IStructDoc sd in this.allStructs) { ! if(sd.NamespaceName != null) { ! OptNamespaceAdd(sd.NamespaceName); } } ! foreach(IEnumDoc ed in this.allEnums) { ! /** ! if(ed.NamespaceEntry.FullName != null) { ! OptNamespaceAdd(ed.NamespaceName); } + */ } ! foreach(IInterfaceDoc id in this.allInterfaces) { ! /** ! if(id.NamespaceEntry.FullName != null) { ! OptNamespaceAdd(id.NamespaceName); } + */ } ! foreach(IDelegateDoc dd in this.allDelegates) { ! /** ! if(dd.NamespaceEntry.FullName != null) { ! OptNamespaceAdd(dd.NamespaceName); } + */ } } *************** *** 123,149 **** } ! private void HandleNamespaceClass(Class klass, ClassDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(klass.Namespace.Name); nsd.AddClassDoc(doc); } ! private void HandleNamespaceStruct(Struct esstruct, StructDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(esstruct.Namespace.Name); nsd.AddStructDoc(doc); } private void HandleNamespaceEnum(Mono.CSharp.Enum eenum, ! Mono.CSharp.Enum doc) { ! NamespaceDoc nsd = NamespaceLookup(eenum.Namespace.Name); ! allNamespaces.AddClassDoc(doc); } ! private void HandleNamespaceStruct(Struct esstruct, StructDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(esstruct.Namespace.Name); ! nsd.AddStructDoc(doc); } --- 129,154 ---- } ! private void HandleNamespaceClass(Class klass, IClassDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(klass.NamespaceEntry.FullName); nsd.AddClassDoc(doc); } ! private void HandleNamespaceStruct(Struct esstruct, IStructDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(esstruct.NamespaceEntry.FullName); nsd.AddStructDoc(doc); } private void HandleNamespaceEnum(Mono.CSharp.Enum eenum, ! IEnumDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(eenum.NamespaceEntry.FullName); ! nsd.AddEnumDoc(doc); } ! private NamespaceDoc NamespaceLookup(string name) { ! throw new NotImplementedException(); } *************** *** 161,172 **** private void ParseContainer(TypeContainer container) { ! if(containers != null) { if(container is Class) { Class c = (Class) container; ! ClassDoc cd = null; // Is there any better way, since // [c.BaseType != typeof(System.Attribute)] if(c.BaseType.ToString() == "System.Attribute") { --- 166,179 ---- private void ParseContainer(TypeContainer container) { ! if(container != null) { if(container is Class) { Class c = (Class) container; ! IClassDoc cd = null; // Is there any better way, since // [c.BaseType != typeof(System.Attribute)] + // c.BaseType.IsSubclassOf(typeof(System.Attribute)) + // || c.BaseType.IsSubclassOf(typeof(MCSAssembly.typeof(System.Attribute)) if(c.BaseType.ToString() == "System.Attribute") { *************** *** 180,184 **** { Struct s = (Struct) container; ! sd = new StructDoc(s); allStructs.Add(sd); } --- 187,191 ---- { Struct s = (Struct) container; ! IStructDoc sd = null;//new IStructDoc(s); allStructs.Add(sd); } *************** *** 197,201 **** foreach(Mono.CSharp.Delegate deleg in delegates) { ! DelegateDoc dd = new DelegateDoc(deleg); allDelegates.Add(dd); } --- 204,208 ---- foreach(Mono.CSharp.Delegate deleg in delegates) { ! IDelegateDoc dd = null;//new DelegateDoc(deleg); allDelegates.Add(dd); } *************** *** 209,213 **** foreach(Mono.CSharp.Enum eenum in enums) { ! EnumDoc ed = new EnumDoc(eenum); allDelegates.Add(ed); } --- 216,220 ---- foreach(Mono.CSharp.Enum eenum in enums) { ! IEnumDoc ed = null;//new EnumDoc(eenum); allDelegates.Add(ed); } *************** *** 221,225 **** foreach(Interface interf in interfaces) { ! InterfaceDoc id = new InterfaceDoc(interf); allInterfaces.Add(id); } --- 228,232 ---- foreach(Interface interf in interfaces) { ! IInterfaceDoc id = null;//new InterfaceDoc(interf); allInterfaces.Add(id); } Index: IContainerDoc.cs =================================================================== RCS file: /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc/IContainerDoc.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IContainerDoc.cs 30 Oct 2004 14:26:14 -0000 1.1 --- IContainerDoc.cs 30 Oct 2004 16:04:43 -0000 1.2 *************** *** 15,22 **** public interface IContainerDoc { ! string Comments { get; } ! string Name { get; } ! AccessFlags Flags { get; } ! bool IsContained { get; } // Returns non null only if(IsContained) --- 15,23 ---- public interface IContainerDoc { ! string Comments { get; } ! string Name { get; } ! AccessFlags AccessFlags { get; } ! bool IsContained { get; } ! string NamespaceName { get; } // Returns non null only if(IsContained) *************** *** 27,31 **** IMethodDoc[] Methods { get; } IPropertyDoc[] Properties { get; } ! IMemberDoc[] Members { get; } IClassDoc[] InnerClasses { get; } --- 28,32 ---- IMethodDoc[] Methods { get; } IPropertyDoc[] Properties { get; } ! IFieldDoc[] Fields { get; } IClassDoc[] InnerClasses { get; } Index: IInterfaceDoc.cs =================================================================== RCS file: /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc/IInterfaceDoc.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IInterfaceDoc.cs 30 Oct 2004 14:26:14 -0000 1.1 --- IInterfaceDoc.cs 30 Oct 2004 16:04:43 -0000 1.2 *************** *** 15,26 **** public interface IInterfaceDoc { ! string Comments { get; } ! string Name { get; } ! AccessFlags Flags { get; } IAttributeDoc[] Attributes { get; } IMethodDoc[] Methods { get; } IPropertyDoc[] Properties { get; } ! IMemberDoc[] Members { get; } IInterfaceDoc[] BaseInterfaces { get; } --- 15,29 ---- public interface IInterfaceDoc { ! string Comments { get; } ! string Name { get; } ! AccessFlags Flags { get; } ! string NamespaceName { get; } ! ! IInterfaceDoc BaseInterface { get; } IAttributeDoc[] Attributes { get; } IMethodDoc[] Methods { get; } IPropertyDoc[] Properties { get; } ! IFieldDoc[] Fields { get; } IInterfaceDoc[] BaseInterfaces { get; } Index: NamespaceDoc.cs =================================================================== RCS file: /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc/NamespaceDoc.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NamespaceDoc.cs 30 Oct 2004 14:26:14 -0000 1.1 --- NamespaceDoc.cs 30 Oct 2004 16:04:43 -0000 1.2 *************** *** 43,52 **** /// and sub-namespaces? /// </remarks> ! public static ArrayList CreateHierarchy(ArrayList namespaceDocs) { ArrayList retVal = new ArrayList(); string name; string[] subNames; ! if(namespaceDocs != null && namespaceDocs.Count > 0) { foreach(NamespaceDoc nd in namespaces) --- 43,52 ---- /// and sub-namespaces? /// </remarks> ! public static ArrayList CreateHierarchy(ArrayList namespaces) { ArrayList retVal = new ArrayList(); string name; string[] subNames; ! if(namespaces != null && namespaces.Count > 0) { foreach(NamespaceDoc nd in namespaces) *************** *** 76,79 **** --- 76,80 ---- throw new NotImplementedException(); } + throw new NotImplementedException(); } *************** *** 88,93 **** foreach(NamespaceDoc nsd in namespaces) { ! if(IsNamespaceAdded(name, nsd) return true; } return false; --- 89,96 ---- foreach(NamespaceDoc nsd in namespaces) { ! if(IsNamespaceAdded(name, nsd)) ! { return true; + } } return false; *************** *** 118,125 **** { if(name[cPos] == '.') ! dotIndices[cIndex++] = cPos; } ! string retVal[] = new string[dotCount]; for(cIndex = 0; cIndex < dotCount; cIndex++) { --- 121,131 ---- { if(name[cPos] == '.') ! { ! dotIndices[cIndex] = cPos; ! cIndex++; ! } } ! string[] retVal = new string[dotCount]; for(cIndex = 0; cIndex < dotCount; cIndex++) { *************** *** 139,148 **** } ! public void SetDelegateDoc(IDelegateDoc doc) { delegates.Add(doc); } ! public void SetEnumDoc(IEnumDoc doc) { enums.Add(doc); --- 145,154 ---- } ! public void AddDelegateDoc(IDelegateDoc doc) { delegates.Add(doc); } ! public void AddEnumDoc(IEnumDoc doc) { enums.Add(doc); *************** *** 170,173 **** --- 176,187 ---- } + public INamespaceDoc[] Namespaces + { + get + { + throw new NotImplementedException(); + } + } + public IClassDoc[] Classes { Index: RootDoc.cs =================================================================== RCS file: /cvsroot/csdoc/csdoc/src/mcsdoc/MCSDoc/RootDoc.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RootDoc.cs 30 Oct 2004 14:30:30 -0000 1.2 --- RootDoc.cs 30 Oct 2004 16:04:43 -0000 1.3 *************** *** 73,77 **** cd = new ClassDoc(c); } ! if(c.Namespace != null && c.Namespace.Name.Length > 0) { HandleNamespaceClass(c, cd); --- 73,77 ---- cd = new ClassDoc(c); } ! if(c.NamespaceEntry != null && c.NamespaceEntry.FullName.Length > 0) { HandleNamespaceClass(c, cd); *************** *** 82,87 **** { Struct s = (Struct)tc; ! StructDoc sd = new StructDoc(s); ! if(s.Namespace != null && s.Namespace.Name.Length > 0) { HandleNamespaceStruct(s, sd); --- 82,87 ---- { Struct s = (Struct)tc; ! IStructDoc sd = null;//new StructDoc(s); ! if(s.NamespaceEntry != null && s.NamespaceEntry.FullName.Length > 0) { HandleNamespaceStruct(s, sd); *************** *** 100,104 **** if(structs.Count > 0) { ! this.structs = (IClassDoc[]) classes.ToArray(typeof(IStructDoc)); } } --- 100,104 ---- if(structs.Count > 0) { ! this.structs = (IStructDoc[]) classes.ToArray(typeof(IStructDoc)); } } *************** *** 120,124 **** { retVal = new NamespaceDoc(name); ! namespaceList.Add(nsd); } return retVal; --- 120,124 ---- { retVal = new NamespaceDoc(name); ! namespaceList.Add(retVal); } return retVal; *************** *** 127,137 **** private void HandleNamespaceClass(Class klass, ClassDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(klass.Namespace.Name); nsd.AddClassDoc(doc); } ! private void HandleNamespaceStruct(Struct esstruct, StructDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(esstruct.Namespace.Name); nsd.AddStructDoc(doc); } --- 127,137 ---- private void HandleNamespaceClass(Class klass, ClassDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(klass.NamespaceEntry.FullName); nsd.AddClassDoc(doc); } ! private void HandleNamespaceStruct(Struct esstruct, IStructDoc doc) { ! NamespaceDoc nsd = NamespaceLookup(esstruct.NamespaceEntry.FullName); nsd.AddStructDoc(doc); } *************** *** 147,154 **** { ArrayList enumDocs = new ArrayList(); ! EnumDoc doc; foreach(Mono.CSharp.Enum current in enums) { ! doc = new EnumDoc(current); enumDocs.Add(doc); } --- 147,154 ---- { ArrayList enumDocs = new ArrayList(); ! IEnumDoc doc = null; foreach(Mono.CSharp.Enum current in enums) { ! doc = null;//new EnumDoc(current); enumDocs.Add(doc); } *************** *** 166,173 **** { ArrayList delegateDocs = new ArrayList(); ! DelegateDoc doc; ! foreach(Delegate current in delegates) { ! doc = new DelegateDoc(current); delegateDocs.Add(doc); } --- 166,173 ---- { ArrayList delegateDocs = new ArrayList(); ! IDelegateDoc doc = null; ! foreach(Mono.CSharp.Delegate current in delegates) { ! doc = null;//new DelegateDoc(current); delegateDocs.Add(doc); } *************** *** 175,179 **** if(delegateDocs.Count > 0) { ! this.delegates = (IDelegateDoc[]) enumDocs.ToArray(typeof(IDelegateDoc)); } } --- 175,179 ---- if(delegateDocs.Count > 0) { ! this.delegates = (IDelegateDoc[]) delegateDocs.ToArray(typeof(IDelegateDoc)); } } *************** *** 185,192 **** { ArrayList interfaceDocs = new ArrayList(); ! InterfaceDoc doc; foreach(Interface current in interfaces) { ! doc = new DelegateDoc(current); interfaceDocs.Add(doc); } --- 185,192 ---- { ArrayList interfaceDocs = new ArrayList(); ! IInterfaceDoc doc = null; foreach(Interface current in interfaces) { ! doc = null;//new InterfaceDoc(current); interfaceDocs.Add(doc); } *************** *** 194,201 **** if(interfaceDocs.Count > 0) { ! this.interfaces = (IInterfaceDoc[]) enumDocs.ToArray(typeof(IInterfaceDoc)); } } } } } --- 194,249 ---- if(interfaceDocs.Count > 0) { ! this.interfaces = (IInterfaceDoc[]) interfaceDocs.ToArray(typeof(IInterfaceDoc)); } } } + + public INamespaceDoc[] Namespaces + { + get + { + throw new NotImplementedException(); + } + } + + public IClassDoc[] Classes + { + get + { + throw new NotImplementedException(); + } + } + + public IDelegateDoc[] Delegates + { + get + { + throw new NotImplementedException(); + } + } + + public IEnumDoc[] Enums + { + get + { + throw new NotImplementedException(); + } + } + + public IInterfaceDoc[] Interfaces + { + get + { + throw new NotImplementedException(); + } + } + + public IStructDoc[] Structs + { + get + { + throw new NotImplementedException(); + } + } } } |