C# Class CoreTechs.Logging.LoggingInterval

Inheritance: IDisposable
Afficher le fichier Open project: Core-Techs/Logging

Méthodes publiques

Méthode Description
Dispose ( ) : void
LoggingInterval ( DateTimeOffset beginning, System.TimeSpan duration ) : System
LoggingInterval ( int n, UnitOfTime unit, DateTimeOffset beginning = null ) : System
Parse ( string s ) : LoggingInterval
StartTimer ( ) : void
Update ( ) : bool

Updates the Beginning property based on the current time.

Méthodes protégées

Méthode Description
OnIntervalEnding ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

LoggingInterval() public méthode

public LoggingInterval ( DateTimeOffset beginning, System.TimeSpan duration ) : System
beginning DateTimeOffset
duration System.TimeSpan
Résultat System

LoggingInterval() public méthode

public LoggingInterval ( int n, UnitOfTime unit, DateTimeOffset beginning = null ) : System
n int
unit UnitOfTime
beginning DateTimeOffset
Résultat System

OnIntervalEnding() protected méthode

protected OnIntervalEnding ( ) : void
Résultat void

Parse() public static méthode

public static Parse ( string s ) : LoggingInterval
s string
Résultat LoggingInterval

StartTimer() public méthode

public StartTimer ( ) : void
Résultat void

Update() public méthode

Updates the Beginning property based on the current time.
public Update ( ) : bool
Résultat bool