C# Class Microsoft.Cci.AggregatingSourceLocationProvider

Inheritance: ISourceLocationProvider, IDisposable
Afficher le fichier Open project: visualmutator/visualmutator Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Close ( ) : void
GetProvider ( IILLocation mbLocation ) : ISourceLocationProvider
GetProvider ( ILocalDefinition localDefinition ) : ISourceLocationProvider
GetProvider ( IMethodDefinition methodDefinition ) : ISourceLocationProvider
MapLocationToSourceLocations ( ILocation location ) : IEnumerable

Method Details

AggregatingSourceLocationProvider() public méthode

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

AggregatingSourceLocationProvider() public méthode

Copies the contents of the table
public AggregatingSourceLocationProvider ( ISourceLocationProvider>.IDictionary unit2ProviderMap ) : System
unit2ProviderMap ISourceLocationProvider>.IDictionary
Résultat System

Dispose() public méthode

Disposes all aggregated providers.
public Dispose ( ) : void
Résultat void

GetPrimarySourceLocationsFor() public méthode

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.
Résultat IEnumerable

GetPrimarySourceLocationsFor() public méthode

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.
Résultat IEnumerable

GetPrimarySourceLocationsForDefinitionOf() public méthode

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
Résultat IEnumerable

GetSourceNameFor() public méthode

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
Résultat string