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

Наследование: ICloneable
Показать файл Открыть проект Примеры использования класса

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

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

Adds a file to the list of files to be scanned for.

Clear ( ) : void
Clone ( ) : PathScanner

Creates a shallow copy of the PathScanner.

Scan ( ) : StringCollection

Scans all direcetories in the PATH environment variable for files.

Scan ( string name ) : StringCollection

Scans all directories in the given environment variable for files.

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

Метод Описание
Clone ( StringCollection stringCollection ) : StringCollection

Creates a shallow copy of the specified StringCollection.

ICloneable ( ) : object

Creates a shallow copy of the PathScanner.

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

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

Adds a file to the list of files to be scanned for.
public Add ( string fileName ) : void
fileName string The filename or search pattern to add to the list.
Результат void

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

public Clear ( ) : void
Результат void

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

Creates a shallow copy of the PathScanner.
public Clone ( ) : PathScanner
Результат PathScanner

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

Scans all direcetories in the PATH environment variable for files.
public Scan ( ) : StringCollection
Результат System.Collections.Specialized.StringCollection

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

Scans all directories in the given environment variable for files.
public Scan ( string name ) : StringCollection
name string The environment variable of which the directories should be scanned.
Результат System.Collections.Specialized.StringCollection