When a class implements an interface via a parent class, it would be beneficial if the documentation provided in the interface is automatically inherited by the parent class's implementation of the interface member.
Example
IFoo = interface
/// documentation
procedure Test;
end;
TBase = class
// This method should automatically inherit the documentation from IFoo.Test
procedure Test;
end;
TFoo = class(TBase, IFoo)
end;
In this scenario, TBase.Test should inherit the documentation from IFoo.Test automatically, eliminating the need to duplicate the documentation comment in the class implementation.
A practical example is TEnumerableBase and TEnumerableBase<T> in Spring.Collections.Base.
When a class implements an interface via a parent class, it would be beneficial if the documentation provided in the interface is automatically inherited by the parent class's implementation of the interface member.
Example
In this scenario, TBase.Test should inherit the documentation from IFoo.Test automatically, eliminating the need to duplicate the documentation comment in the class implementation.
A practical example is
TEnumerableBaseandTEnumerableBase<T>in Spring.Collections.Base.