/// <summary> /// Initializes a new instance of the <see cref="DocMethod"/> class with /// the specified <see cref="DocExportedType"/>. /// </summary> /// <param name="type">The <see cref="DocExportedType"/> the method belongs to.</param> public DocMethod(DocExportedType type) { MethodType = type; }
/// <summary> /// Initializes a new instance of the <see cref="DocConstructor"/> class with /// the specified <see cref="DocExportedType"/>. /// </summary> /// <param name="type">The <see cref="DocExportedType"/> the constructor is for.</param> public DocConstructor(DocExportedType type) { ConstructorType = type; }