"Speak to the whole congregation of the Children of Israel" (Leviticus 19:2). What reason did He see to speak this section in an assembly? Why did He not say, "Speak to the Children of Israel," as in the rest of the sections, but rather, "to the whole congregation"? Because all of the Commandments are included within it. How?
Why Kedoshim Was Spoken to the Whole Assembly of Israel
Midrash Tanchuma Buber, Kedoshim 3:1
דבר אל כל עדת בני ישראל. מה ראה לומר הפרשה הזו בכינוס, למה לא אמר דבר אל בני ישראל כשאר פרשיות, אלא אל כל עדת, לפי שכל הדברות כלולין בתוכה, כיצד