Introduce a new static class `SignatureDtoExtensions` that adds a `Convert<T>` extension method for collections of `SignatureDto` objects. This method converts all `SignatureDto` instances in a collection to a specified `UnitOfLength`, modifying them in place and returning the same collection. The method includes: - A generic constraint to support any `IEnumerable<SignatureDto>`. - Null checks to ensure the collection is not null. - Comprehensive XML documentation with usage examples and notes.
3.5 KiB
3.5 KiB