C# Class OData4.Builder.UniqueIdentifierService

Service making names within a scope unique. Initialize a new instance for every scope.
显示文件 Open project: meancrazy/LINQPadOData4 Class Usage Examples

Private Methods

Method Description
GetUniqueIdentifier ( string identifier ) : string

Given an identifier, makes it unique within the scope by adding a suffix (1, 2, 3, ...), and returns the adjusted identifier.

GetUniqueParameterName ( string name ) : string

Fix up the given parameter name and make it unique.

UniqueIdentifierService ( IEnumerable identifiers, bool caseSensitive ) : System

Constructs a UniqueIdentifierService.

UniqueIdentifierService ( bool caseSensitive ) : System

Constructs a UniqueIdentifierService.