C# 클래스 Microsoft.VisualStudio.R.Package.Options.R.Tools.LogLevelTypeConverter

상속: System.ComponentModel.TypeConverter
파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object

Converts logging level name to the enumerated value

ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object

Converts logging level to a user-friendly display name

GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection
GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
LogLevelTypeConverter ( ) : System

비공개 메소드들

메소드 설명
Convert ( object value ) : object
ConvertToLevel ( string name ) : int?
ConvertToName ( int level ) : string

메소드 상세

CanConvertFrom() 공개 메소드

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
리턴 bool

CanConvertTo() 공개 메소드

public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
리턴 bool

ConvertFrom() 공개 메소드

Converts logging level name to the enumerated value
public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
리턴 object

ConvertTo() 공개 메소드

Converts logging level to a user-friendly display name
public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
리턴 object

GetStandardValues() 공개 메소드

public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection
context ITypeDescriptorContext
리턴 StandardValuesCollection

GetStandardValuesSupported() 공개 메소드

public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
리턴 bool

LogLevelTypeConverter() 공개 메소드

public LogLevelTypeConverter ( ) : System
리턴 System