System.Generics.Defaults.TDelegatedComparer.Create
Delphi
constructor Create(const ACompare: TComparison<T>);
C++
__fastcall TDelegatedComparer__1(const System::DelphiInterface<TComparison__1<T> > ACompare);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Generics.Defaults.pas System.Generics.Defaults.hpp |
System.Generics.Defaults | TDelegatedComparer |
Description
Creates a new instance of TDelegatedComparer class.
Use Create method to create a new instance of TDelegatedComparer class. ACompare is a reference to a TComparison routine that will handle all comparison requests
See Also
- System.Generics.Defaults.TDelegatedComparer.Destroy
- System.Generics.Defaults.TDelegatedComparer.Compare
- System.Generics.Defaults.IComparer
- System.Generics.Defaults.TComparer