Chronos Plugins 5.4.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
MockPlugin.SampleListColumns.CreamTypeConverter Class Reference

Just provide a TypeConverter, and Chronos is happy. More...

+ Inheritance diagram for MockPlugin.SampleListColumns.CreamTypeConverter:
+ Collaboration diagram for MockPlugin.SampleListColumns.CreamTypeConverter:

Public Member Functions

 CreamTypeConverter ()
 Luckily we can inherit everything necessary.
 
override object ConvertFrom (ITypeDescriptorContext context, CultureInfo culture, object value)
 The actual conversion work string->object is done here.
 

Detailed Description

Just provide a TypeConverter, and Chronos is happy.

Definition at line 82 of file CreamTypeColumn.cs.

Constructor & Destructor Documentation

◆ CreamTypeConverter()

MockPlugin.SampleListColumns.CreamTypeConverter.CreamTypeConverter ( )

Luckily we can inherit everything necessary.

Definition at line 87 of file CreamTypeColumn.cs.

87 : base(typeof(BrewFrappuccino.CreamType))
88 {
89 }
A task working on a complex parameter set.
CreamType
Enum properties result in nice drop-down lists.

Member Function Documentation

◆ ConvertFrom()

override object MockPlugin.SampleListColumns.CreamTypeConverter.ConvertFrom ( ITypeDescriptorContext  context,
CultureInfo  culture,
object  value 
)

The actual conversion work string->object is done here.

Parameters
context
culture
value
Returns

The base class implementation is good enough for us.

Definition at line 99 of file CreamTypeColumn.cs.

100 {
101 return base.ConvertFrom(context, culture, value);
102 }

The documentation for this class was generated from the following file: