Last active
August 29, 2015 14:10
-
-
Save danlister/fa0c09c31093aa776d58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
{ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.