public static GivenMethodMembers MethodMembers() { var ruleCreator = new ArchRuleCreator <MethodMember>(BasicObjectProviderDefinition.MethodMembers); return(new GivenMethodMembers(ruleCreator)); }
public static GivenPropertyMembers PropertyMembers() { var ruleCreator = new ArchRuleCreator <PropertyMember>(BasicObjectProviderDefinition.PropertyMembers); return(new GivenPropertyMembers(ruleCreator)); }
public CombinedArchRuleCreator(ICanBeEvaluated oldRule, LogicalConjunction logicalConjunction, BasicObjectProvider <TRuleType> basicObjectProvider) { _oldRule = oldRule; _logicalConjunction = logicalConjunction; _currentArchRuleCreator = new ArchRuleCreator <TRuleType>(basicObjectProvider); }
private bool Equals(ArchRuleCreator <TRuleType> other) { return(_conditionManager.Equals(other._conditionManager) && _predicateManager.Equals(other._predicateManager)); }
public static GivenInterfaces Interfaces() { var ruleCreator = new ArchRuleCreator <Interface>(BasicObjectProviderDefinition.Interfaces); return(new GivenInterfaces(ruleCreator)); }
public static GivenClasses Classes() { var ruleCreator = new ArchRuleCreator <Class>(BasicObjectProviderDefinition.Classes); return(new GivenClasses(ruleCreator)); }
public static GivenAttributes Attributes() { var ruleCreator = new ArchRuleCreator <Attribute>(BasicObjectProviderDefinition.Attributes); return(new GivenAttributes(ruleCreator)); }
public static GivenTypes Types() { var ruleCreator = new ArchRuleCreator <IType>(BasicObjectProviderDefinition.Types); return(new GivenTypes(ruleCreator)); }