C# Class Rf.Sites.Frame.SiteInfrastructure.RouteDefinitionExtensions

ファイルを表示 Open project: flq/Rf.Sites

Public Methods

Method Description
ReorderParts ( this def, IComparer comparer ) : void
Replace ( this def, string tobeReplaced, string replacement ) : void
ReplaceString ( this str, string oldValue, string newValue, System.StringComparison comparison ) : string

Taken from http://stackoverflow.com/questions/244531/is-there-an-alternative-to-string-replace-that-is-case-insensitive to do a case insensitive replacement

Method Details

ReorderParts() public static method

public static ReorderParts ( this def, IComparer comparer ) : void
def this
comparer IComparer
return void

Replace() public static method

public static Replace ( this def, string tobeReplaced, string replacement ) : void
def this
tobeReplaced string
replacement string
return void

ReplaceString() public static method

Taken from http://stackoverflow.com/questions/244531/is-there-an-alternative-to-string-replace-that-is-case-insensitive to do a case insensitive replacement
public static ReplaceString ( this str, string oldValue, string newValue, System.StringComparison comparison ) : string
str this
oldValue string
newValue string
comparison System.StringComparison
return string