C# Class Serilog.Events.ScalarValue

A property value corresponding to a simple, scalar type.
Inheritance: LogEventPropertyValue
Afficher le fichier Open project: serilog/serilog Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

Determine if this instance is equal to obj.

GetHashCode ( ) : int

Get a hash code representing the value.

Render ( TextWriter output, string format = null, IFormatProvider formatProvider = null ) : void

Render the value to the output.

ScalarValue ( object value ) : System

Construct a ScalarValue with the specified value.

Method Details

Equals() public méthode

Determine if this instance is equal to obj.
public Equals ( object obj ) : bool
obj object The instance to compare with.
Résultat bool

GetHashCode() public méthode

Get a hash code representing the value.
public GetHashCode ( ) : int
Résultat int

Render() public méthode

Render the value to the output.
public Render ( TextWriter output, string format = null, IFormatProvider formatProvider = null ) : void
output System.IO.TextWriter The output.
format string A format string applied to the value, or null.
formatProvider IFormatProvider A format provider to apply to the value, or null to use the default.
Résultat void

ScalarValue() public méthode

Construct a ScalarValue with the specified value.
public ScalarValue ( object value ) : System
value object The value, which may be null.
Résultat System