C# Класс Mercurial.ListFile

This class can be used internally by the other command classes, to provide support for a list of files written out to a temporary file, instead of passing them all on the command line.
Using the list file syntax is only supported on Mercurial 1.8 and above. This class will handle this automatically.
Показать файл Открыть проект

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

Метод Описание
Cleanup ( ) : void

Cleans up by removing the temporary file left from GetArguments, provided one was created and it is still present.

GetArguments ( ) : string[]

Gets the sequence of arguments to pass to the command line client. This might write out a temporary file on disk, so be sure to call Cleanup when the command has completed execution.

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

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

Cleans up by removing the temporary file left from GetArguments, provided one was created and it is still present.
public Cleanup ( ) : void
Результат void

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

Gets the sequence of arguments to pass to the command line client. This might write out a temporary file on disk, so be sure to call Cleanup when the command has completed execution.
public GetArguments ( ) : string[]
Результат string[]