Example #1
0
        public GivenPropertyMembers PropertyMembers()
        {
            var combinedRuleCreator = new CombinedArchRuleCreator <PropertyMember>(_oldRule,
                                                                                   _logicalConjunction, BasicObjectProviderDefinition.PropertyMembers);

            return(new GivenPropertyMembers(combinedRuleCreator));
        }
Example #2
0
        public GivenInterfaces Interfaces()
        {
            var combinedRuleCreator = new CombinedArchRuleCreator <Interface>(_oldRule,
                                                                              _logicalConjunction, BasicObjectProviderDefinition.Interfaces);

            return(new GivenInterfaces(combinedRuleCreator));
        }
Example #3
0
        public GivenAttributes Attributes()
        {
            var combinedRuleCreator = new CombinedArchRuleCreator <Attribute>(_oldRule,
                                                                              _logicalConjunction, BasicObjectProviderDefinition.Attributes);

            return(new GivenAttributes(combinedRuleCreator));
        }
Example #4
0
        public GivenClasses Classes()
        {
            var combinedRuleCreator = new CombinedArchRuleCreator <Class>(_oldRule, _logicalConjunction,
                                                                          BasicObjectProviderDefinition.Classes);

            return(new GivenClasses(combinedRuleCreator));
        }
 private bool Equals(CombinedArchRuleCreator <TRuleType> other)
 {
     return(Equals(_oldRule, other._oldRule) &&
            Equals(_logicalConjunction, other._logicalConjunction) &&
            Equals(_currentArchRuleCreator, other._currentArchRuleCreator));
 }