Compartilhar via


PexCoverageFilterBase<T>.TryGetDomain Method

Definition

Gets the Microsoft.ExtendedReflection.Coverage.CoverageDomain of the method

public:
 virtual bool TryGetDomain(Microsoft::ExtendedReflection::Metadata::MethodDefinition ^ method, [Runtime::InteropServices::Out] Microsoft::ExtendedReflection::Coverage::CoverageDomain % domain);
public virtual bool TryGetDomain (Microsoft.ExtendedReflection.Metadata.MethodDefinition method, out Microsoft.ExtendedReflection.Coverage.CoverageDomain domain);
abstract member TryGetDomain : Microsoft.ExtendedReflection.Metadata.MethodDefinition * CoverageDomain -> bool
override this.TryGetDomain : Microsoft.ExtendedReflection.Metadata.MethodDefinition * CoverageDomain -> bool
Public Overridable Function TryGetDomain (method As MethodDefinition, ByRef domain As CoverageDomain) As Boolean

Parameters

method
Microsoft.ExtendedReflection.Metadata.MethodDefinition

The method.

domain
Microsoft.ExtendedReflection.Coverage.CoverageDomain

The domain.

Returns

Implements

Microsoft.ExtendedReflection.Coverage.ICoverageFilter.TryGetDomain(Microsoft.ExtendedReflection.Metadata.MethodDefinition,Microsoft.ExtendedReflection.Coverage.CoverageDomain@)

Applies to