MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.param.ui.DictionaryParamEditor Class Reference

The DictionaryParamEditor is used to visually edit dictionary based parameters that are stored as a key/value set packed within a string. More...

Inheritance diagram for MyCaffe.param.ui.DictionaryParamEditor:

Public Member Functions

 DictionaryParamEditor ()
 The constructor. More...
 
override UITypeEditorEditStyle GetEditStyle (ITypeDescriptorContext context)
 Returns the edit style DROPDOWN More...
 
override object EditValue (ITypeDescriptorContext context, IServiceProvider provider, object value)
 The EditValue displays the editing control and returns the new edited value. More...
 

Detailed Description

The DictionaryParamEditor is used to visually edit dictionary based parameters that are stored as a key/value set packed within a string.

Definition at line 15 of file DictionaryParamEditor.cs.

Constructor & Destructor Documentation

◆ DictionaryParamEditor()

MyCaffe.param.ui.DictionaryParamEditor.DictionaryParamEditor ( )

The constructor.

Definition at line 20 of file DictionaryParamEditor.cs.

Member Function Documentation

◆ EditValue()

override object MyCaffe.param.ui.DictionaryParamEditor.EditValue ( ITypeDescriptorContext  context,
IServiceProvider  provider,
object  value 
)

The EditValue displays the editing control and returns the new edited value.

Parameters
contextSpecifies the context (not used).
providerSpecifies the provider implementing the service.
valueSpecifies the value to edit.
Returns
The edited value is returned.

Definition at line 41 of file DictionaryParamEditor.cs.

◆ GetEditStyle()

override UITypeEditorEditStyle MyCaffe.param.ui.DictionaryParamEditor.GetEditStyle ( ITypeDescriptorContext  context)

Returns the edit style DROPDOWN

Parameters
contextSpecifies the context (not used).
Returns

Definition at line 29 of file DictionaryParamEditor.cs.


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