C# Класс CRLFAnalyzerNS.CRLFAnalyzer

Class for crlf utility.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
nl string

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

Метод Описание
Main ( string args ) : int

The main entry point for the application.

OutputException ( string CurrentMessage, Exception e ) : bool
OutputLocations ( TermListType TermList, int StartIndex, string OutputFormat, bool CROnly, int Count ) : void

Outputs the locations of the line terminations

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

Метод Описание
FixOrConvert ( TermListType TermList, BinaryReader InputReader, BinaryWriter OutputWriter, byte LineEnd, int StartIndex, CRFixType CRFix ) : void

This function does the actual file fixing or conversion. It contains the main logic of this application.

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

Main() публичный статический Метод

The main entry point for the application.
public static Main ( string args ) : int
args string
Результат int

OutputException() публичный статический Метод

public static OutputException ( string CurrentMessage, Exception e ) : bool
CurrentMessage string
e System.Exception
Результат bool

OutputLocations() публичный статический Метод

Outputs the locations of the line terminations
public static OutputLocations ( TermListType TermList, int StartIndex, string OutputFormat, bool CROnly, int Count ) : void
TermList TermListType
StartIndex int
OutputFormat string
CROnly bool
Count int
Результат void

Описание свойств

nl публичное статическое свойство

public static string nl
Результат string