C# Class CRLFAnalyzerNS.CRLFAnalyzer

Class for crlf utility.
Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
nl string

Public Methods

Method Description
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

Private Methods

Method Description
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.

Method Details

Main() public static method

The main entry point for the application.
public static Main ( string args ) : int
args string
return int

OutputException() public static method

public static OutputException ( string CurrentMessage, Exception e ) : bool
CurrentMessage string
e System.Exception
return bool

OutputLocations() public static method

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
return void

Property Details

nl public_oe static_oe property

public static string nl
return string