Table of Contents

Struct StatInfo<TAction>

Namespace
Ecng.ComponentModel
Assembly
Ecng.ComponentModel.dll

Contains statistical information related to actions.

public struct StatInfo<TAction>

Type Parameters

TAction

The type representing the action.

Inherited Members
Extension Methods

Properties

AggressiveAddress

Gets or sets the aggressive IP address.

public IPAddress AggressiveAddress { readonly get; set; }

Property Value

IPAddress

AggressiveTime

Gets or sets the aggressive time.

public TimeSpan AggressiveTime { readonly get; set; }

Property Value

TimeSpan

Freq

Gets or sets the frequency information.

public StatInfo<TAction>.Item<int>[] Freq { readonly get; set; }

Property Value

Item<int>[]

Longest

Gets or sets the longest duration information.

public StatInfo<TAction>.Item<TimeSpan>[] Longest { readonly get; set; }

Property Value

Item<TimeSpan>[]

PendingCount

Gets or sets the pending count.

public int PendingCount { readonly get; set; }

Property Value

int

Pendings

Gets or sets the pending actions information.

public StatInfo<TAction>.Item<TimeSpan>[] Pendings { readonly get; set; }

Property Value

Item<TimeSpan>[]

UniqueCount

Gets or sets the unique count.

public int UniqueCount { readonly get; set; }

Property Value

int

Methods

ToString()

Returns a string representation of the statistical information.

public override string ToString()

Returns

string

A string that represents the current stat info.