/// <inheriteddoc />
 public override string ToString()
 {
     return(string.Format("P:{0}.{1}{2}",
                          this.Type.ClrType.FullName,
                          this.ClrMember.Name,
                          ParameterHelper.CreateStringList(this.ClrMember.GetIndexParameters())));
 }
        // Private Methods (1) 

        private IEnumerable <MethodDocumentation> GetMethodsInner()
        {
            var result = new List <MethodDocumentation>();

            foreach (var method in this.ClrType
                     .GetMethods()
                     .OrderBy(m => m.Name, StringComparer.InvariantCultureIgnoreCase))
            {
                result.Add(new MethodDocumentation(this, method,
                                                   this.Assembly
                                                   .Xml
                                                   .XPathSelectElements(string.Format("members/member[@name='M:{0}.{1}{2}']",
                                                                                      this.ClrType.FullName,
                                                                                      method.Name,
                                                                                      ParameterHelper.CreateStringList(method.GetParameters())))
                                                   .FirstOrDefault()));
            }

            return(result.ToArray());
        }
        // Public Methods (8) 

        /// <summary>
        /// Returns all constructors and their documentations.
        /// </summary>
        /// <returns>The list of constructor documentations.</returns>
        public IEnumerable <ConstructorDocumentation> GetConstructors()
        {
            foreach (var constructor in this.ClrType
                     .GetConstructors()
                     .OrderBy(c => c.Name, StringComparer.InvariantCultureIgnoreCase))
            {
                yield return(new ConstructorDocumentation(this, constructor,
                                                          this.Assembly
                                                          .Xml
                                                          .XPathSelectElements(string.Format("members/member[@name='M:{0}.#ctor{1}']",
                                                                                             this.ClrType.FullName,
                                                                                             ParameterHelper.CreateStringList(constructor.GetParameters())))
                                                          .FirstOrDefault()));
            }
        }
 /// <summary>
 /// Returns all properties and their documentations.
 /// </summary>
 /// <returns>The list of property documentations.</returns>
 public IEnumerable <PropertyDocumentation> GetProperties()
 {
     foreach (var property in this.ClrType
              .GetProperties()
              .OrderBy(m => m.Name, StringComparer.InvariantCultureIgnoreCase))
     {
         yield return(new PropertyDocumentation(this, property,
                                                this.Assembly
                                                .Xml
                                                .XPathSelectElements(string.Format("members/member[@name='P:{0}.{1}{2}']",
                                                                                   this.ClrType.FullName,
                                                                                   property.Name,
                                                                                   ParameterHelper.CreateStringList(property.GetIndexParameters())))
                                                .FirstOrDefault()));
     }
 }
        // Public Methods (1) 

        /// <inheriteddoc />
        public override string ToString()
        {
            return(string.Format("C:{0}.#ctor{1}",
                                 this.Type.ClrType.FullName,
                                 ParameterHelper.CreateStringList(this.ClrMember.GetParameters())));
        }