C# Class Microsoft.WindowsAzure.Commands.ScenarioTest.PermissiveRecordMatcherWithApiExclusion

Inheritance: IRecordMatcher
Datei anzeigen Open project: Azure/azure-powershell

Protected Properties

Property Type Description
_ignoreGenericResource bool
_providersToIgnore string>.Dictionary
_userAgentsToIgnore string>.Dictionary

Public Methods

Method Description
GetMatchingKey ( RecordEntry recordEntry ) : string
GetMatchingKey ( System request ) : string
PermissiveRecordMatcherWithApiExclusion ( bool ignoreResourcesClient, string>.Dictionary providers ) : Microsoft.Azure.Test.HttpRecorder
PermissiveRecordMatcherWithApiExclusion ( bool ignoreResourcesClient, string>.Dictionary providers, string>.Dictionary userAgents ) : Microsoft.Azure.Test.HttpRecorder

Protected Methods

Method Description
ContainsIgnoredProvider ( string requestUri, string &version ) : bool
RemoveOrReplaceApiVersion ( string requestUri, string version ) : string

Method Details

ContainsIgnoredProvider() protected method

protected ContainsIgnoredProvider ( string requestUri, string &version ) : bool
requestUri string
version string
return bool

GetMatchingKey() public method

public GetMatchingKey ( RecordEntry recordEntry ) : string
recordEntry RecordEntry
return string

GetMatchingKey() public method

public GetMatchingKey ( System request ) : string
request System
return string

PermissiveRecordMatcherWithApiExclusion() public method

public PermissiveRecordMatcherWithApiExclusion ( bool ignoreResourcesClient, string>.Dictionary providers ) : Microsoft.Azure.Test.HttpRecorder
ignoreResourcesClient bool
providers string>.Dictionary
return Microsoft.Azure.Test.HttpRecorder

PermissiveRecordMatcherWithApiExclusion() public method

public PermissiveRecordMatcherWithApiExclusion ( bool ignoreResourcesClient, string>.Dictionary providers, string>.Dictionary userAgents ) : Microsoft.Azure.Test.HttpRecorder
ignoreResourcesClient bool
providers string>.Dictionary
userAgents string>.Dictionary
return Microsoft.Azure.Test.HttpRecorder

RemoveOrReplaceApiVersion() protected method

protected RemoveOrReplaceApiVersion ( string requestUri, string version ) : string
requestUri string
version string
return string

Property Details

_ignoreGenericResource protected_oe property

protected bool _ignoreGenericResource
return bool

_providersToIgnore protected_oe property

protected Dictionary _providersToIgnore
return string>.Dictionary

_userAgentsToIgnore protected_oe property

protected Dictionary _userAgentsToIgnore
return string>.Dictionary