NET (Agent, Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Lamda Expression in .NET Getter Chain

Highlighted

Lamda Expression in .NET Getter Chain

Is it possible to use a lamda expression in a .NET getter chain for a data collector? I have a List of objects that I would like to call Find on and pass a lamda to get the one I need.

 

Basically I want to call this:

Actions.Find(x => x.ActionType == ActionType.Settle).ResultMessage

But I'm not sure what the syntax for the getter chain should be in this case (or if it's even possible). Any ideas?

Lamda Expression in .NET Getter Chain