NamespaceComparer Class
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.
A custom string comparer to sort using statements to have System prefixed namespaces first.
public class NamespaceComparer : System.Collections.Generic.IComparer<string>
type NamespaceComparer = class
interface IComparer<string>
Public Class NamespaceComparer
Implements IComparer(Of String)
- Inheritance
-
NamespaceComparer
- Implements
Constructors
NamespaceComparer() |
Methods
Compare(String, String) | Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. |
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.
Entity Framework