Class ColorConverter
Inheritance
System.Object
ColorConverter
Assembly: OpenMod.Unturned.Module.Shared.dll
Syntax
public class ColorConverter : TypeConverter
Constructors
|
Improve this Doc
View Source
ColorConverter()
Declaration
Methods
|
Improve this Doc
View Source
CanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
Type |
Name |
Description |
ITypeDescriptorContext |
context |
|
Type |
sourceType |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CanConvertTo(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
Type |
Name |
Description |
ITypeDescriptorContext |
context |
|
Type |
destinationType |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
Type |
Name |
Description |
ITypeDescriptorContext |
context |
|
CultureInfo |
culture |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
Type |
Name |
Description |
ITypeDescriptorContext |
context |
|
CultureInfo |
culture |
|
System.Object |
value |
|
Type |
destinationType |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
GetStandardValues(ITypeDescriptorContext)
Declaration
public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
Parameters
Type |
Name |
Description |
ITypeDescriptorContext |
context |
|
Returns
Type |
Description |
StandardValuesCollection |
|
|
Improve this Doc
View Source
GetStandardValuesSupported(ITypeDescriptorContext)
Declaration
public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
Parameters
Type |
Name |
Description |
ITypeDescriptorContext |
context |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods