Logo Search packages:      
Sourcecode: ndoc version File versions  Download package

NDoc::Core::Reflection::ReflectionEngine Class Reference

List of all members.


Detailed Description

Summary description for ReflectionEngine.

Definition at line 37 of file ReflectionEngine.cs.


Public Member Functions

SortedList GetNamespacesFromAssembly (ReflectionEngineParameters rep, string assemblyFile)
 Gets the namespaces from assembly.
 ReflectionEngine ()
 constructor for ReflectionEngine.

Protected Member Functions

string GetDisplayValue (Type parent, object value)

Private Member Functions

void BuildDerivedInterfaceXref (Type type)
void BuildDerivedMemberXref (Type type)
void BuildNamespaceHierarchy (string namespaceName, Type type)
void BuildXml (XmlWriter writer)
 Builds an Xml file combining the reflected metadata with the /doc comments.
void BuildXrefs ()
void CheckForMissingParams (XmlWriter writer, string memberName, ParameterInfo[] parameters)
void CheckForMissingReturns (XmlWriter writer, string memberName, MethodInfo method)
void CheckForMissingSummaryAndRemarks (XmlWriter writer, string memberName)
void CheckForMissingValue (XmlWriter writer, string memberName)
bool CheckForPropertyBacker (XmlWriter writer, string memberName, Type type)
 This checks whether a field is a property backer, meaning it stores the information for the property.
PropertyInfo DerivePropertyFromAccessorMethod (MemberInfo accessor)
bool DoAutoDocumentConstructor (XmlWriter writer, string memberName, ConstructorInfo constructor)
PropertyInfo FindProperty (string expectedPropertyName, Type type)
 Find a particular property of the specified type, by name. Return the PropertyInfo for it.
string GetFieldAccessValue (FieldInfo field)
string GetFullNamespaceName (MemberInfo member)
 Used by all the GetMemberName() functions except the Type one. It returns most of the /doc member name.
ParameterInfo[] GetIndexParameters (PropertyInfo property)
string GetMemberName (MethodBase method, Type declaringType)
 Derives the member name ID for the basse of an inherited member function.
string GetMemberName (MethodBase method)
 Derives the member name ID for a member function. Used to match nodes in the /doc XML.
string GetMemberName (PropertyInfo property, Type declaringType)
 Derives the member name ID for the base of an inherited property.
string GetMemberName (PropertyInfo property)
 Derives the member name ID for a property. Used to match nodes in the /doc XML.
string GetMemberName (EventInfo eventInfo, Type declaringType)
 Derives the member name ID for an event. Used to match nodes in the /doc XML.
string GetMemberName (EventInfo eventInfo)
 Derives the member name ID for an event. Used to match nodes in the /doc XML.
string GetMemberName (FieldInfo field, Type declaringType)
 Derives the member name ID for the base of an inherited field.
string GetMemberName (FieldInfo field)
 Derives the member name ID for a field. Used to match nodes in the /doc XML.
string GetMemberName (Type type)
 Derives the member name ID for a type. Used to match nodes in the /doc XML.
string GetMethodAccessValue (MethodBase method)
string GetMethodContractValue (MethodBase method)
int GetMethodOverload (MethodInfo method, Type type)
StringCollection GetNamespaceNames (Type[] types)
string GetNestedTypeName (Type type)
string GetPropertyAccessValue (PropertyInfo property)
string GetPropertyContractValue (PropertyInfo property)
int GetPropertyOverload (PropertyInfo property, PropertyInfo[] properties)
string GetTypeAccessValue (Type type)
string GetTypeName (Type type)
 Derives the ID for a type. Used to match nodes in the /doc XML.
string GetTypeNamespaceName (Type type)
 Used by GetMemberName(Type type) and by GetFullNamespaceName(MemberInfo member) functions to build up most of the /doc member name.
bool HaveSameSig (MethodInfo m1, MethodInfo m2)
bool IsAlsoAnEvent (PropertyInfo property)
bool IsAlsoAnEvent (FieldInfo field)
bool IsAlsoAnEvent (Type type, string fullName)
bool IsDelegate (Type type)
bool IsEditorBrowsable (MemberInfo minfo)
bool IsHidden (MethodInfo method, Type type)
bool IsHidden (MemberInfo member, Type type)
bool IsHiding (PropertyInfo property, Type type)
bool IsHiding (MethodInfo method, Type type)
bool IsHiding (MemberInfo member, Type type)
bool IsMemberSafe (MethodInfo method)
bool IsMemberSafe (MethodBase method)
bool IsMemberSafe (PropertyInfo property)
bool IsMemberSafe (FieldInfo field)
internal string MakeXml (ReflectionEngineParameters rep)
 Builds an Xml string combining the reflected metadata with the /doc comments.
internal void MakeXmlFile (ReflectionEngineParameters rep, string xmlFile)
 Builds an Xml file combining the reflected metadata with the /doc comments.
bool MustDocumentField (FieldInfo field)
bool MustDocumentMethod (MethodBase method)
bool MustDocumentProperty (PropertyInfo property)
bool MustDocumentType (Type type)
void PreLoadXmlDocumentation ()
void PreReflectionProcess ()
AssemblyLoader SetupAssemblyLoader ()
void TraceErrorOutput (string message, Exception ex)
void TraceErrorOutput (string message)
void WriteAssembly (XmlWriter writer, Assembly assembly)
void WriteBaseType (XmlWriter writer, Type type)
void WriteClass (XmlWriter writer, Type type, bool hiding)
 Writes XML documenting a class.
int WriteClasses (XmlWriter writer, Type[] types, string namespaceName)
void WriteConstructor (XmlWriter writer, ConstructorInfo constructor, int overload)
 Writes XML documenting a constructor.
void WriteConstructorDocumentation (XmlWriter writer, string memberName, ConstructorInfo constructor)
void WriteConstructors (XmlWriter writer, Type type)
void WriteCopyright (XmlWriter writer)
void WriteCustomAttribute (XmlWriter writer, Attribute attribute, string target)
void WriteCustomAttributes (XmlWriter writer, object[] attributes, string target)
void WriteCustomAttributes (XmlWriter writer, EventInfo eventInfo)
void WriteCustomAttributes (XmlWriter writer, ParameterInfo parameterInfo)
void WriteCustomAttributes (XmlWriter writer, PropertyInfo propertyInfo)
void WriteCustomAttributes (XmlWriter writer, MethodInfo methodInfo)
void WriteCustomAttributes (XmlWriter writer, ConstructorInfo constructorInfo)
void WriteCustomAttributes (XmlWriter writer, FieldInfo fieldInfo)
void WriteCustomAttributes (XmlWriter writer, Type type)
void WriteCustomAttributes (XmlWriter writer, Module module)
void WriteCustomAttributes (XmlWriter writer, Assembly assembly)
void WriteDefaultThreadSafety (XmlWriter writer)
void WriteDelegate (XmlWriter writer, Type type)
 Writes XML documenting a delegate.
void WriteDelegateDocumentation (XmlWriter writer, string memberName, Type type, MethodInfo method)
int WriteDelegates (XmlWriter writer, Type[] types, string namespaceName)
void WriteDerivedTypes (XmlWriter writer, string memberName)
void WriteEndDocumentation (XmlWriter writer)
void WriteEnumeration (XmlWriter writer, Type type)
 Writes XML documenting an enumeration.
void WriteEnumerationDocumentation (XmlWriter writer, string memberName)
int WriteEnumerations (XmlWriter writer, Type[] types, string namespaceName)
void WriteEvent (XmlWriter writer, EventInfo eventInfo)
 Writes XML documenting an event.
void WriteEventDocumentation (XmlWriter writer, string memberName, bool writeMissing)
void WriteEvents (XmlWriter writer, Type type)
void WriteFeedBackEmailAddress (XmlWriter writer)
void WriteField (XmlWriter writer, FieldInfo field, Type type, bool hiding)
 Writes XML documenting a field.
void WriteFieldDocumentation (XmlWriter writer, string memberName, Type type)
void WriteFields (XmlWriter writer, Type type)
void WriteInheritedDocumentation (XmlWriter writer, string memberName, Type declaringType)
void WriteInterface (XmlWriter writer, Type type)
 Writes XML documenting an interface.
void WriteInterfaceImplementingTypes (XmlWriter writer, string memberName)
int WriteInterfaces (XmlWriter writer, Type[] types, string namespaceName)
void WriteMethod (XmlWriter writer, MethodInfo method, bool inherited, int overload, bool hiding)
 Writes XML documenting a method.
void WriteMethodDocumentation (XmlWriter writer, string memberName, MethodInfo method, bool writeMissing)
void WriteMethods (XmlWriter writer, Type type)
void WriteMissingDocumentation (XmlWriter writer, string element, string name, string message)
void WriteModule (XmlWriter writer, Module module)
 Writes documentation about a module out as XML.
void WriteNamespaceHierarchies (XmlWriter writer)
void WriteNamespaces (XmlWriter writer, Module module)
void WriteNamespaceTypeHierarchy (XmlWriter writer, string namespaceName)
void WriteOperator (XmlWriter writer, MethodInfo method, int overload)
void WriteOperators (XmlWriter writer, Type type)
void WriteParameter (XmlWriter writer, string memberName, ParameterInfo parameter)
void WriteProperties (XmlWriter writer, Type type)
void WriteProperty (XmlWriter writer, PropertyInfo property, bool inherited, int overload, bool hiding)
 Writes XML documenting a property.
void WritePropertyBackerDocumentation (XmlWriter writer, string element, PropertyInfo property)
 Write xml info for a property's backer field to the specified writer. This writes a string with a link to the property.
void WritePropertyDocumentation (XmlWriter writer, string memberName, PropertyInfo property, bool writeMissing)
void WriteSlashDocElements (XmlWriter writer, string memberName)
void WriteSpecialAttributes (XmlWriter writer, FieldInfo field)
void WriteSpecialAttributes (XmlWriter writer, Type type)
void WriteStartDocumentation (XmlWriter writer)
void WriteStaticConstructor (XmlWriter writer, Type type)
void WriteStructLayoutAttribute (XmlWriter writer, Type type)
int WriteStructures (XmlWriter writer, Type[] types, string namespaceName)
void WriteTypeDocumentation (XmlWriter writer, string memberName, Type type)
void WriteTypeHierarchy (XmlWriter writer, DerivedTypesCollection derivedTypes, string TypeMemberID)

Private Attributes

AssemblyXmlDocCache assemblyDocCache
AssemblyLoader assemblyLoader
AttributeUsageDisplayFilter attributeFilter
BaseInterfacesCollection baseInterfaces
DerivedTypesCollection derivedTypes
bool didWriteStartDocumentation = false
Hashtable documentedTypes
ExternalXmlSummaryCache externalSummaryCache
ImplementsCollection implementations
InterfaceImplementingTypesCollection interfaceImplementingTypes
NamespaceHierarchyCollection namespaceHierarchies
Hashtable notEmptyNamespaces
ReflectionEngineParameters rep

Classes

class  AttributeUsageDisplayFilter
class  BaseInterfacesCollection
 Maintains a cache of all interfaces directly declared on class declaration. More...
class  DerivedTypesCollection
 Maintains a cache of all base classes and their directly derived children. More...
class  ImplementsCollection
class  ImplementsInfo
class  InterfaceImplementingTypesCollection
 Maintains a cache of all base interfaces and the Types that implement them. More...
class  NamespaceHierarchyCollection

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index