Foreign/SonyLE/LevelEditor/Search/SearchResultsListView.cs
/// <summary>
/// Binds this search Control to a data set (that is wrapped in a class implementing IQueryableContext)</summary>
/// <param name="queryResultContext">Search results to bind to</param>
Binds this search Control to a data set (that is wrapped in a class implementing IQueryableContext)
Binds this search Control to a data set ( that is wrapped in a class implementing IQueryableContext )
public void Bind(IQueryableResultContext queryResultContext)
        {
            ClearResults();
            if (m_queryResultContext != null)
                m_queryResultContext.ResultsChanged -= queryResultContext_ResultsChanged;
            m_queryResultContext = queryResultContext;
            if (m_queryResultContext != null)
                m_queryResultContext.ResultsChanged += queryResultContext_ResultsChanged;
        }
public void Bind ( IQueryableResultContext queryResultContext ) { ClearResults ( ) ; if ( m_queryResultContext != null ) m_queryResultContext . ResultsChanged -= queryResultContext_ResultsChanged ; m_queryResultContext = queryResultContext ; if ( m_queryResultContext != null ) m_queryResultContext . ResultsChanged += queryResultContext_ResultsChanged ; }
Binds this search Control to a data set (that is wrapped in a class implementing IQueryableContext)
Binds this search Control to a data set ( that is wrapped in a class implementing IQueryableContext )
queryResultContext
IQueryableResultContext
Search results to bind to
Search results to bind to