OverloadCollection<T> Class
- Namespace
- Kampute.DocToolkit.Collections
- Assembly
Definition
Represents a collection of members that are overloads of each other.
public class OverloadCollection<T> : IDocumentModel, IReadOnlyCollection<T>
where T : TypeMemberModel
- Inheritance
- Implements
Type Parameters
T- The type of members in the collection.
Thread Safety
Constructors
Properties
| Assembly | Gets the assembly that contains the overloaded members. |
| Context | Gets the documentation context. |
| Count | Gets the number of members in the collection. |
| DeclaringType | Gets the declaring type of the overloaded members. |
| Doc | Gets the common documentation for overloaded members. |
| HierarchyPath | Gets the hierarchy path of the parent models leading to this model. |
| Item[int] | Gets the member at the specified index. |
| ModelType | Gets the type of the documentation model. |
| Name | Gets the name of the overloaded members. |
| Namespace | Gets the namespace of the overloaded members. |
| Url | Gets the common documentation URL for the overloaded members. |
Methods
Explicit Interface Implementations
The collection preserves the documentation context of the overloaded members and provides common properties such as name, declaring type, and documentation URL. It is particularly useful for documentation generators that need to represent multiple overloads of a member together while still providing access to each individual overload.