set_search_context


Description:

public virtual void set_search_context (SearchContext ctx)

Set associated SearchContext

This method should be called inside Unity.AbstractScope.create_search_for_query() after instantiating your ScopeSearchBase subclass. It will ensure that all search_context fields are properly initialized.