Example #1
0
 private void registerXMLRefSearch()
 {
     var XMLRefSearch = new DevExpress.CodeRush.Core.SearchProvider();
     ((System.ComponentModel.ISupportInitialize)(XMLRefSearch)).BeginInit();
     XMLRefSearch.Description = "XMLRefSearch";
     XMLRefSearch.ProviderName = "XMLRefSearch"; // Needs to be Unique
     XMLRefSearch.Register = true;
     XMLRefSearch.UseForNavigation = true;
     XMLRefSearch.CheckAvailability += XMLRefSearch_CheckAvailability;
     XMLRefSearch.SearchReferences += XMLRefSearch_SearchReferences;
     ((System.ComponentModel.ISupportInitialize)(XMLRefSearch)).EndInit();
 }
Example #2
0
        private void registerXMLRefSearch()
        {
            var XMLRefSearch = new DevExpress.CodeRush.Core.SearchProvider();

            ((System.ComponentModel.ISupportInitialize)(XMLRefSearch)).BeginInit();
            XMLRefSearch.Description        = "XMLRefSearch";
            XMLRefSearch.ProviderName       = "XMLRefSearch"; // Needs to be Unique
            XMLRefSearch.Register           = true;
            XMLRefSearch.UseForNavigation   = true;
            XMLRefSearch.CheckAvailability += XMLRefSearch_CheckAvailability;
            XMLRefSearch.SearchReferences  += XMLRefSearch_SearchReferences;
            ((System.ComponentModel.ISupportInitialize)(XMLRefSearch)).EndInit();
        }