-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
All code is placed into NaturalSort.Extension. However, only NaturalSortExtension are "Extension" methods. Shouldn't the code better be structured as follows?
namespace NaturalSort class NaturalSortComparer
namespace NaturalSort.Extension class NaturalSortExtension or NaturalSortExtensionMethods
Rationale of this proposal:
- With the current design, all being placed in a single namespace, a
using NaturalSort.Extension;will always make bothComparerandExtensionvisible. - WIth the proposed design, the user can selectively make
Comparerand/orExtensionvisible, same as e.g. theSystem.LINQnamespace that makes extension methods for e.g.System.Collectionsvisible.
Metadata
Metadata
Assignees
Labels
No labels