public static void ReloadDataElementInConsole(DataEntityToken dataEntityToken) { var parentEntityTokens = AuxiliarySecurityAncestorFacade.GetParents(dataEntityToken); foreach (var parentEntityToken in parentEntityTokens) { ConsoleMessageQueueFacade.Enqueue(new RefreshTreeMessageQueueItem { EntityToken = parentEntityToken }, null); } }
public static void ReloadDataElementInConsole(DataEntityToken dataEntityToken) { if (dataEntityToken == null) { throw new ArgumentNullException(nameof(dataEntityToken)); } var parentEntityTokens = AuxiliarySecurityAncestorFacade.GetParents(dataEntityToken); if (parentEntityTokens != null) { foreach (var parentEntityToken in parentEntityTokens) { ConsoleMessageQueueFacade.Enqueue(new RefreshTreeMessageQueueItem { EntityToken = parentEntityToken }, null); } } }