C# Class Rackspace.Cloud.Server.Agent.Utilities.Extensions

ファイルを表示 Open project: rackerlabs/openstack-guest-agents-windows-xenserver

Public Methods

Method Description
DoCommandTextSubsitutions ( this stringToBeSearchedIn, string>.IDictionary subsitutionPattens ) : string
EscapeQuotesForXenClientWrite ( this stringToBeEscaped ) : string
FindKey ( string>.this lookup, string value ) : string
First ( this listOfStrings ) : string
IsValidFilePath ( this path ) : bool
SplitOnNewLine ( this stringToBeSplit ) : IEnumerable
ToHexString ( this stringToBeHexed ) : string
ValidateAndClean ( this listOfGuids ) : IEnumerable
Value ( this listOfStrings ) : string

Private Methods

Method Description
CheckGuid ( string guidString ) : bool

Method Details

DoCommandTextSubsitutions() public static method

public static DoCommandTextSubsitutions ( this stringToBeSearchedIn, string>.IDictionary subsitutionPattens ) : string
stringToBeSearchedIn this
subsitutionPattens string>.IDictionary
return string

EscapeQuotesForXenClientWrite() public static method

public static EscapeQuotesForXenClientWrite ( this stringToBeEscaped ) : string
stringToBeEscaped this
return string

FindKey() public static method

public static FindKey ( string>.this lookup, string value ) : string
lookup string>.this
value string
return string

First() public static method

public static First ( this listOfStrings ) : string
listOfStrings this
return string

IsValidFilePath() public static method

public static IsValidFilePath ( this path ) : bool
path this
return bool

SplitOnNewLine() public static method

public static SplitOnNewLine ( this stringToBeSplit ) : IEnumerable
stringToBeSplit this
return IEnumerable

ToHexString() public static method

public static ToHexString ( this stringToBeHexed ) : string
stringToBeHexed this
return string

ValidateAndClean() public static method

public static ValidateAndClean ( this listOfGuids ) : IEnumerable
listOfGuids this
return IEnumerable

Value() public static method

public static Value ( this listOfStrings ) : string
listOfStrings this
return string