C# 클래스 Serilog.Events.ScalarValue

A property value corresponding to a simple, scalar type.
상속: LogEventPropertyValue
파일 보기 프로젝트 열기: serilog/serilog 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Equals() 공개 메소드

Determine if this instance is equal to obj.
public Equals ( object obj ) : bool
obj object The instance to compare with.
리턴 bool

GetHashCode() 공개 메소드

Get a hash code representing the value.
public GetHashCode ( ) : int
리턴 int

Render() 공개 메소드

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.
리턴 void

ScalarValue() 공개 메소드

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