コード例 #1
0
ファイル: PlugIn1.cs プロジェクト: modulexcite/CR_XMLNav
 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();
 }
コード例 #2
0
ファイル: PlugIn1.cs プロジェクト: RoryBecker/CR_XMLNav
        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();
        }