Skip to content

Instantly share code, notes, and snippets.

@danlister
Last active August 29, 2015 14:10
Show Gist options
  • Save danlister/fa0c09c31093aa776d58 to your computer and use it in GitHub Desktop.
Save danlister/fa0c09c31093aa776d58 to your computer and use it in GitHub Desktop.
using Examine;
using Umbraco.Core;
namespace Application.Events
{
public class CustomApplicationEvent : ApplicationEventHandler
{
public CustomApplicationEvent()
{
ExamineManager.Instance.IndexProviderCollection["CustomIndexer"].GatheringNodeData
+= OnGatheringNodeData;
}
private static void OnGatheringNodeData(object sender, IndexingNodeDataEventArgs e)
{
}
}
}
@danlister
Copy link
Author

After upgrading to v7.2, line 10 falls over with an exception of "Resolution is not frozen, it is not yet possible to get values from it". Commenting out line 10 and 11 allows the application to start up correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment