C# Класс WebAnalytics.DataLayer.LogParser

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

Private Properties

Свойство Тип Описание
CheckGrammer bool
FindFields void
LineHas bool
SetFields void

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

Метод Описание
Dispose ( ) : void
ParseW3CFormat ( ) : IEnumerable
StripFields ( string unformattedFields ) : void

Given a string where `#Fields` is the beginning, strip out all the fields that W3C format uses for logs

setTimes ( System.DateTime start, System.DateTime end ) : void

To shorten the parse and quicken the speed, provide the times the user is interested in. So that it will not have to parse raw data that at the higher level the user will not be using

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

Метод Описание
CheckGrammer ( string data, string operation ) : bool
FindFields ( ) : void
LineHas ( string line ) : bool
SetFields ( ) : void

Set the fields for the specific log format that we are dealing with, by default this uses the W3C Extended format. On version 2 or later versions, other log formats will be implemented.

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

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

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

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

public ParseW3CFormat ( ) : IEnumerable
Результат IEnumerable

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

Given a string where `#Fields` is the beginning, strip out all the fields that W3C format uses for logs
public StripFields ( string unformattedFields ) : void
unformattedFields string
Результат void

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

To shorten the parse and quicken the speed, provide the times the user is interested in. So that it will not have to parse raw data that at the higher level the user will not be using
public setTimes ( System.DateTime start, System.DateTime end ) : void
start System.DateTime
end System.DateTime
Результат void