C# Класс NAnt.Core.LocationMap

Показать файл Открыть проект

Открытые методы

Метод Описание
Add ( XmlDocument doc ) : void

Adds an XmlDocument to the map.

An XmlDocument can only be added to the map once.

FileIsMapped ( string fileOrUri ) : bool

Determines if a file has been loaded by the current project.

GetLocation ( XmlNode node ) : Location

Returns the Location in the XML file for the given node.

The node must be from an XmlDocument that has been added to the map.

LocationMap ( ) : System

Initializes a new instance of the LocationMap class.

Приватные методы

Метод Описание
GetXPathFromNode ( XmlNode node ) : string

Описание методов

Add() публичный Метод

Adds an XmlDocument to the map.
An XmlDocument can only be added to the map once.
public Add ( XmlDocument doc ) : void
doc System.Xml.XmlDocument
Результат void

FileIsMapped() публичный Метод

Determines if a file has been loaded by the current project.
public FileIsMapped ( string fileOrUri ) : bool
fileOrUri string The file to check.
Результат bool

GetLocation() публичный Метод

Returns the Location in the XML file for the given node.
The node must be from an XmlDocument that has been added to the map.
public GetLocation ( XmlNode node ) : Location
node System.Xml.XmlNode
Результат Location

LocationMap() публичный Метод

Initializes a new instance of the LocationMap class.
public LocationMap ( ) : System
Результат System