CapyKit/Documentation/Help/M_CapyKit_PropertyComparer_2__ctor.md

48 lines
925 B
Markdown
Raw Normal View History

# PropertyComparer<T, U> Constructor
Constructor.
## Definition
**Namespace:** <a href="N_CapyKit">CapyKit</a>
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d
**C#**
``` C#
public PropertyComparer(
Func<T, U> expression
)
```
**VB**
``` VB
Public Sub New (
expression As Func(Of T, U)
)
```
**C++**
``` C++
public:
PropertyComparer(
Func<T, U>^ expression
)
```
**F#**
``` F#
new :
expression : Func<'T, 'U> -> PropertyComparer
```
#### Parameters
<dl><dt>  <a href="https://learn.microsoft.com/dotnet/api/system.func-2" target="_blank" rel="noopener noreferrer">Func</a>(<a href="T_CapyKit_PropertyComparer_2">T</a>, <a href="T_CapyKit_PropertyComparer_2">U</a>)</dt><dd>The expression.</dd></dl>
## See Also
#### Reference
<a href="T_CapyKit_PropertyComparer_2">PropertyComparer(T, U) Class</a>
<a href="N_CapyKit">CapyKit Namespace</a>