private static void UpdateAttributes(object sender) { CachedAttributes = VariableMenuAttribute.GetAll(); }