Example #1
0
 void XbrlEngine_TaxonomyLoadFailed(object sender, TaxonomyEventArgs e)
 {
     if (CurrentInstanceTaxonomyLoadFailed != null)
     {
         CurrentInstanceTaxonomyLoadFailed(sender, e);
     }
 }
Example #2
0
        void XbrlEngine_InstanceLoad(object sender, TaxonomyEventArgs e)
        {
            var taxonomyloadneeded = true;

            if (CurrentTaxonomy != null)
            {
                var localmoduleentry = Utilities.Strings.GetLocalPath(XbrlEngine.LocalFolder,
                                                                      CurrentInstance.TaxonomyModuleReference);
                taxonomyloadneeded = CurrentTaxonomy.EntryDocument.LocalPath != localmoduleentry;
            }
            if (taxonomyloadneeded)
            {
                LoadTaxonomy(CurrentXbrlInstance.SchemaRef.Href);
                //LoadTaxonomy();
            }
            else
            {
                Trigger_TaxonomyLoaded(CurrentTaxonomy.EntryDocument.LocalPath);
            }
        }
Example #3
0
 private void Engine_TaxonomyLoad(object sender, TaxonomyEventArgs e)
 {
     SetRegValue(RegSettingsPath + "LastTaxonomy", e.FilePath);
     AddToRecent(RecentTaxonomies, RegKey_Recent_Taxonomies, e.FilePath);
 }
Example #4
0
 private void XbrlEngine_InstanceLoaded(object sender, TaxonomyEventArgs e)
 {
     IsInstanceLoading = false;
 }