public static IPluginExecutionContext GetTopContent(this IPluginExecutionContext content)
{
IPluginExecutionContext topContent = content;
while (topContent != null && topContent.ParentContext != null)
{
topContent = topContent.ParentContext;
}
return topContent;
}
{
IPluginExecutionContext topContent = content;
while (topContent != null && topContent.ParentContext != null)
{
topContent = topContent.ParentContext;
}
return topContent;
}