C# Class MongoDataSource.CollectionNameEditor

Inheritance: System.Drawing.Design.UITypeEditor
Mostrar archivo Open project: simplybusiness/mongosis

Public Methods

Method Description
EditValue ( System context, IServiceProvider provider, object value ) : object

Edits the specified object's value using the editor style indicated by the System.Drawing.Design.UITypeEditor.GetEditStyle() method.

GetEditStyle ( System context ) : UITypeEditorEditStyle

Gets the editor style used by the System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method.

Private Methods

Method Description
BuildListBox ( MongoDatabase database ) : ListBox
GetDatabase ( System context ) : MongoDatabase
GetMongoDBConnectionManager ( Microsoft package ) : Microsoft.SqlServer.Dts.Runtime.ConnectionManager
GetMongoDBConnectionManager ( System context ) : Microsoft.SqlServer.Dts.Runtime.ConnectionManager
GetPackageFromContext ( System context ) : Microsoft.SqlServer.Dts.Runtime.Package
OnListBoxSelectedValueChanged ( object sender, EventArgs e ) : void

Method Details

EditValue() public method

Edits the specified object's value using the editor style indicated by the System.Drawing.Design.UITypeEditor.GetEditStyle() method.
public EditValue ( System context, IServiceProvider provider, object value ) : object
context System An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.
provider IServiceProvider An System.IServiceProvider that this editor can use to obtain services.
value object The object to edit.
return object

GetEditStyle() public method

Gets the editor style used by the System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method.
public GetEditStyle ( System context ) : UITypeEditorEditStyle
context System An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.
return UITypeEditorEditStyle