public static ICondition <PropertyMember> HaveProtectedSetter() { return(new SimpleCondition <PropertyMember>( member => member.SetterVisibility == Protected, member => "does have a " + VisibilityStrings.ToString(member.SetterVisibility) + " setter", "have a protected setter")); }
public static ICondition <PropertyMember> HaveInternalSetter() { return(new SimpleCondition <PropertyMember>( member => member.SetterVisibility == Internal, member => "does have a " + VisibilityStrings.ToString(member.SetterVisibility) + " setter", "have an internal setter")); }
public static ICondition <PropertyMember> HavePublicGetter() { return(new SimpleCondition <PropertyMember>( member => member.GetterVisibility == Public, member => "does have a " + VisibilityStrings.ToString(member.GetterVisibility) + " getter", "have a public getter")); }