public IEnumerable<Action> GetActions() { lock (_lock) { return (from action in _actions select action).ToList(); } }