Skip to content

ResideInNamespace should be ResideInNamespaceMatching #378

@baumheld

Description

@baumheld

Small bug introduced in PR #362:
ResideInNamespace should be ResideInNamespaceMatching in class GivenTypesThat and method ResideInNamespaceMatching

Current

        public TGivenRuleTypeConjunction ResideInNamespaceMatching(string pattern)
        {
            _ruleCreator.AddPredicate(
                TypePredicatesDefinition<TRuleType>.ResideInNamespace(pattern)
            );
            return Create<TGivenRuleTypeConjunction, TRuleType>(_ruleCreator);
        }

Proposed

        public TGivenRuleTypeConjunction ResideInNamespaceMatching(string pattern)
        {
            _ruleCreator.AddPredicate(
                TypePredicatesDefinition<TRuleType>.ResideInNamespaceMatching(pattern)
            );
            return Create<TGivenRuleTypeConjunction, TRuleType>(_ruleCreator);
        }

https://github.com/TNG/ArchUnitNET/blob/55ddf7030024bc0f90a5d4df710b0ce43307eab0/ArchUnitNET/Fluent/Syntax/Elements/Types/GivenTypesThat.cs#L141C1-L142C1

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIndicates that an issue needs to be categorized.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions