C# 클래스 Microsoft.Cci.AggregatingSourceLocationProvider

상속: ISourceLocationProvider, IDisposable
파일 보기 프로젝트 열기: visualmutator/visualmutator 1 사용 예제들

공개 메소드들

메소드 설명
AggregatingSourceLocationProvider ( ISourceLocationProvider>.Dictionary unit2ProviderMap ) : System

Uses the given dictionary to find the appropriate provider for a query.

AggregatingSourceLocationProvider ( ISourceLocationProvider>.IDictionary unit2ProviderMap ) : System

Copies the contents of the table

Dispose ( ) : void

Disposes all aggregated providers.

GetPrimarySourceLocationsFor ( IEnumerable locations ) : IEnumerable

Return zero or more locations in primary source documents that correspond to one or more of the given derived (non primary) document locations.

GetPrimarySourceLocationsFor ( ILocation location ) : IEnumerable

Return zero or more locations in primary source documents that correspond to the given derived (non primary) document location.

GetPrimarySourceLocationsForDefinitionOf ( ILocalDefinition localDefinition ) : IEnumerable

Return zero or more locations in primary source documents that correspond to the definition of the given local.

GetSourceNameFor ( ILocalDefinition localDefinition, bool &isCompilerGenerated ) : string

Returns the source name of the given local definition, if this is available. Otherwise returns the value of the Name property and sets isCompilerGenerated to true.

비공개 메소드들

메소드 설명
Close ( ) : void
GetProvider ( IILLocation mbLocation ) : ISourceLocationProvider
GetProvider ( ILocalDefinition localDefinition ) : ISourceLocationProvider
GetProvider ( IMethodDefinition methodDefinition ) : ISourceLocationProvider
MapLocationToSourceLocations ( ILocation location ) : IEnumerable

메소드 상세

AggregatingSourceLocationProvider() 공개 메소드

Uses the given dictionary to find the appropriate provider for a query.
public AggregatingSourceLocationProvider ( ISourceLocationProvider>.Dictionary unit2ProviderMap ) : System
unit2ProviderMap ISourceLocationProvider>.Dictionary
리턴 System

AggregatingSourceLocationProvider() 공개 메소드

Copies the contents of the table
public AggregatingSourceLocationProvider ( ISourceLocationProvider>.IDictionary unit2ProviderMap ) : System
unit2ProviderMap ISourceLocationProvider>.IDictionary
리턴 System

Dispose() 공개 메소드

Disposes all aggregated providers.
public Dispose ( ) : void
리턴 void

GetPrimarySourceLocationsFor() 공개 메소드

Return zero or more locations in primary source documents that correspond to one or more of the given derived (non primary) document locations.
public GetPrimarySourceLocationsFor ( IEnumerable locations ) : IEnumerable
locations IEnumerable Zero or more locations in documents that have been derived from one or more source documents.
리턴 IEnumerable

GetPrimarySourceLocationsFor() 공개 메소드

Return zero or more locations in primary source documents that correspond to the given derived (non primary) document location.
public GetPrimarySourceLocationsFor ( ILocation location ) : IEnumerable
location ILocation A location in a document that have been derived from one or more source documents.
리턴 IEnumerable

GetPrimarySourceLocationsForDefinitionOf() 공개 메소드

Return zero or more locations in primary source documents that correspond to the definition of the given local.
public GetPrimarySourceLocationsForDefinitionOf ( ILocalDefinition localDefinition ) : IEnumerable
localDefinition ILocalDefinition
리턴 IEnumerable

GetSourceNameFor() 공개 메소드

Returns the source name of the given local definition, if this is available. Otherwise returns the value of the Name property and sets isCompilerGenerated to true.
public GetSourceNameFor ( ILocalDefinition localDefinition, bool &isCompilerGenerated ) : string
localDefinition ILocalDefinition
isCompilerGenerated bool
리턴 string