protected virtual void OnLuaVariableFilterServiceFiltering(object sender, SledLuaVariableFilterService.FilteringEventArgs e) { if (e.NodeType != NodeType) { return; } if (Collection.Count <= 0) { return; } var objects = new List <TType>(); foreach (var list in Collection) { SledDomUtil.GatherAllAs(list.DomNode, objects); } foreach (var luaVar in objects) { e.LuaVarsToFilter.Add(luaVar); } Editor.View = null; }
private void LuaVariableFilterServiceFiltering(object sender, SledLuaVariableFilterService.FilteringEventArgs e) { OnLuaVariableFilterServiceFiltering(sender, e); }