C# 클래스 Common.Logging.Simple.NoOpVariablesContext

A null-functionality implementation of IVariablesContext
상속: IVariablesContext
파일 보기 프로젝트 열기: net-commons/common-logging

공개 메소드들

메소드 설명
Clear ( ) : void

Clears the context variables

Contains ( string key ) : bool

Checks if a variable is set within the context

Get ( string key ) : object

Gets the value of a variable within the context

Remove ( string key ) : void

Removes a variable from the context by key

Set ( string key, object value ) : void

Sets the value of a new or existing variable within the context

메소드 상세

Clear() 공개 메소드

Clears the context variables
public Clear ( ) : void
리턴 void

Contains() 공개 메소드

Checks if a variable is set within the context
public Contains ( string key ) : bool
key string The key of the variable to check for
리턴 bool

Get() 공개 메소드

Gets the value of a variable within the context
public Get ( string key ) : object
key string The key of the variable to get
리턴 object

Remove() 공개 메소드

Removes a variable from the context by key
public Remove ( string key ) : void
key string The key of the variable to remove
리턴 void

Set() 공개 메소드

Sets the value of a new or existing variable within the context
public Set ( string key, object value ) : void
key string The key of the variable that is to be added
value object The value to add
리턴 void