Class NaturalStringComparer
Method is slow because of the native call. Use local comparer / sorting method instead.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.FileDialogs.ShellHelpers
Assembly: Telerik.WinControls.UI.dll
Syntax
[Obsolete("Method is slow because of the native call. Use local comparer / sorting method instead.")]
public class NaturalStringComparer : IComparer<FileSystemInfoWrapper>, IComparer<DirectoryBaseWrapper>
Properties
Instance
The single NaturalStringComparer instance that is ready to use.
Declaration
public static NaturalStringComparer Instance { get; }
Property Value
NaturalStringComparer
|
Methods
Compare(DirectoryBaseWrapper, DirectoryBaseWrapper)
Wraps the Telerik.WinControls.FileDialogs.ShellHelpers.NativeMethodsFileDialogs.StrCmpLogicalW(System.String,System.String) method.
Declaration
public int Compare(DirectoryBaseWrapper x, DirectoryBaseWrapper y)
Parameters
DirectoryBaseWrapper
x
|
DirectoryBaseWrapper
y
|
Returns
System.Int32
|
Implements
Compare(FileSystemInfoWrapper, FileSystemInfoWrapper)
Wraps the Telerik.WinControls.FileDialogs.ShellHelpers.NativeMethodsFileDialogs.StrCmpLogicalW(System.String,System.String) method.
Declaration
public int Compare(FileSystemInfoWrapper x, FileSystemInfoWrapper y)
Parameters
FileSystemInfoWrapper
x
|
FileSystemInfoWrapper
y
|
Returns
System.Int32
|