Introduced PostBuildBehavior enum and BehaveOnPostBuild() method to configure behavior when modifying the service collection after the service provider is built. Replaced EnsureNotBuilt() with EnsureBuilt() to support configurable handling (throw exception or ignore). This improves flexibility in scenarios where post-build service modifications should be optionally allowed or silently ignored.