C# Class CoreTechs.Logging.LoggingInterval

Inheritance: IDisposable
ファイルを表示 Open project: Core-Techs/Logging

Public Methods

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

Protected Methods

Method Description
OnIntervalEnding ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

LoggingInterval() public method

public LoggingInterval ( DateTimeOffset beginning, System.TimeSpan duration ) : System
beginning DateTimeOffset
duration System.TimeSpan
return System

LoggingInterval() public method

public LoggingInterval ( int n, UnitOfTime unit, DateTimeOffset beginning = null ) : System
n int
unit UnitOfTime
beginning DateTimeOffset
return System

OnIntervalEnding() protected method

protected OnIntervalEnding ( ) : void
return void

Parse() public static method

public static Parse ( string s ) : LoggingInterval
s string
return LoggingInterval

StartTimer() public method

public StartTimer ( ) : void
return void

Update() public method

Updates the Beginning property based on the current time.
public Update ( ) : bool
return bool