---
title: "Lambda Function Using Unknown Parameter"  
description: "Lambda Function Using Unknown Parameter"  
author: "Anonymous User"  
published: 2014-02-09  
updated: 2014-02-09  
canonical: https://www.mindstick.com/forum/1967/lambda-function-using-unknown-parameter  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Lambda Function Using Unknown Parameter

I see PRISM declaring the following constructor, and I don't understand what's that "o" being used with the [lambda function](https://www.mindstick.com/forum/157632/what-is-meant-by-lambda-function-in-python) that serves as the [second](https://answers.mindstick.com/qa/41761/how-did-the-second-industrial-revolution-influence-women-s-roles-in-society) [parameter](https://www.mindstick.com/blog/450/parameter-class-in-c-sharp) when the [base](https://www.mindstick.com/articles/12627/how-can-predictive-analytics-enhance-customer-base-and-experience) constructor is called:

[public](https://www.mindstick.com/blog/11097/java-access-modifiers-the-public-and-the-private-modifiers) DelegateCommand([Action](https://www.mindstick.com/forum/155752/what-is-action-result-with-its-types)<T> executeMethod)

: this(executeMethod, (o)=>[true](https://yourviews.mindstick.com/view/81326/boycott-chinese-products-dream-will-come-true))

{

}

I'd appreciate an explanation.

## Replies

### Reply by Pravesh Singh

Hi samuel,

It calls this constructor:

DelegateCommand<T>(Action<T>, Func<T, Boolean>)

Passing a [lambda](https://www.mindstick.com/blog/181/lambda-expression-in-c-sharp) that always returns true as the second parameter.


---

Original Source: https://www.mindstick.com/forum/1967/lambda-function-using-unknown-parameter

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
