IAlternateEqualityComparer<TAlternate,T>.Create(TAlternate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a T
that is considered by Equals(TAlternate, T) to be equal to the specified alternate
.
public T Create (TAlternate alternate);
abstract member Create : 'Alternate -> 'T
Public Function Create (alternate As TAlternate) As T
Parameters
- alternate
- TAlternate
The instance of type TAlternate
for which an equal T
is required.
Returns
T
A T
considered equal to the specified alternate
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.