C# Class Smrf.NodeXL.ExcelTemplate.UserSettingsTypeConverterBase

Base class for several user-settings-related type converters that can convert an object to and from a string.
This class implements and overrides.
Inheritance: System.ComponentModel.TypeConverter
ファイルを表示 Open project: 2014-sed-team3/term-project

Public Methods

Method Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : System.Boolean
CanConvertTo ( ITypeDescriptorContext context, Type sourceType ) : System.Boolean
UserSettingsTypeConverterBase ( ) : System

Initializes a new instance of the UserSettingsTypeConverterBase class.

Private Methods

Method Description
AssertValid ( ) : void

Method Details

CanConvertFrom() public method

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : System.Boolean
context ITypeDescriptorContext
sourceType System.Type
return System.Boolean

CanConvertTo() public method

public CanConvertTo ( ITypeDescriptorContext context, Type sourceType ) : System.Boolean
context ITypeDescriptorContext
sourceType System.Type
return System.Boolean

UserSettingsTypeConverterBase() public method

Initializes a new instance of the UserSettingsTypeConverterBase class.
public UserSettingsTypeConverterBase ( ) : System
return System