public static UsingStatementConstraintBuilder EnsureDoesNotHaveUsingNamespace(this Class entity, string namespaceName) { UsingStatementConstraintBuilder cb = new UsingStatementConstraintBuilder(entity, namespaceName); cb.RemoveUsingStatement(); return(cb); }
public static UsingStatementConstraintBuilder EnsureDoesNotHaveUsingNamespace(this Class entity, string namespaceName) { UsingStatementConstraintBuilder cb = new UsingStatementConstraintBuilder(entity, namespaceName); cb.RemoveUsingStatement(); return cb; }