C# Class Sitecore.Linqpad.Dialogs.ConnectionDialog

Inheritance: System.Windows.Window, ISitecoreConnectionSettings
Show file Open project: adamconn/sitecore-linqpad Class Usage Examples

Public Methods

Method Description
ConnectionDialog ( ) : System

Protected Methods

Method Description
BtnBrowseWebRoot_OnClick ( object sender, RoutedEventArgs e ) : void
ConfirmTypeReset ( ISelectedType currentSelectedType, Type newType ) : bool
GetHelpTopicForControl ( object sender ) : HelpTopic
GetSitecoreVersion ( SitecoreConnectionManager manager ) : System.Version
InitializeControlToHelpInfoMapping ( HelpTopic>.Dictionary mapping ) : void
IsValidConnectionSettings ( SitecoreConnectionManager manager ) : bool
IsValidWebRoot ( string path ) : bool
OnClosing ( object sender, CancelEventArgs cancelEventArgs ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
ResetType ( ISelectedType currentSelectedType, Type newType, TextBox textBox ) : void
btnAbout_Click ( object sender, RoutedEventArgs e ) : void
btnOK_Click ( object sender, RoutedEventArgs e ) : void
txtDriverInitializerTypeName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
txtSearchResultItemTypeName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Private Methods

Method Description
CurrentDomain_AssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly
GetNamespacesAsString ( IEnumerable value ) : string
GetValueFromSelectedType ( ISelectedType selectedType ) : string
ShowTypeSelectorDialog ( ISelectedType selectedType, string dialogTitle, TextBox textBox ) : void
browseAppConfigReaderType_Click ( object sender, RoutedEventArgs e ) : void
browseDriverInitializerType_Click ( object sender, RoutedEventArgs e ) : void
browseSchemaBuilderType_Click ( object sender, RoutedEventArgs e ) : void
browseSearchResultItemType_Click ( object sender, RoutedEventArgs e ) : void
btnTest_Click ( object sender, RoutedEventArgs e ) : void
lnkDisplayHelp_Click ( object sender, RoutedEventArgs e ) : void
resetAppConfigReaderType_Click ( object sender, RoutedEventArgs e ) : void
resetDriverInitializerType_Click ( object sender, RoutedEventArgs e ) : void
resetNamespaces_Click ( object sender, RoutedEventArgs e ) : void
resetSchemaBuilderType_Click ( object sender, RoutedEventArgs e ) : void
resetSearchResultItemType_Click ( object sender, RoutedEventArgs e ) : void
txtAppConfigReaderTypeName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
txtSchemaBuilderTypeName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Method Details

BtnBrowseWebRoot_OnClick() protected method

protected BtnBrowseWebRoot_OnClick ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

ConfirmTypeReset() protected method

protected ConfirmTypeReset ( ISelectedType currentSelectedType, Type newType ) : bool
currentSelectedType ISelectedType
newType System.Type
return bool

ConnectionDialog() public method

public ConnectionDialog ( ) : System
return System

GetHelpTopicForControl() protected method

protected GetHelpTopicForControl ( object sender ) : HelpTopic
sender object
return HelpTopic

GetSitecoreVersion() protected method

protected GetSitecoreVersion ( SitecoreConnectionManager manager ) : System.Version
manager Sitecore.Linqpad.Server.SitecoreConnectionManager
return System.Version

InitializeControlToHelpInfoMapping() protected method

protected InitializeControlToHelpInfoMapping ( HelpTopic>.Dictionary mapping ) : void
mapping HelpTopic>.Dictionary
return void

IsValidConnectionSettings() protected method

protected IsValidConnectionSettings ( SitecoreConnectionManager manager ) : bool
manager Sitecore.Linqpad.Server.SitecoreConnectionManager
return bool

IsValidWebRoot() protected method

protected IsValidWebRoot ( string path ) : bool
path string
return bool

OnClosing() protected method

protected OnClosing ( object sender, CancelEventArgs cancelEventArgs ) : void
sender object
cancelEventArgs CancelEventArgs
return void

OnLoaded() protected method

protected OnLoaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

ResetType() protected method

protected ResetType ( ISelectedType currentSelectedType, Type newType, TextBox textBox ) : void
currentSelectedType ISelectedType
newType System.Type
textBox System.Windows.Controls.TextBox
return void

btnAbout_Click() protected method

protected btnAbout_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

btnOK_Click() protected method

protected btnOK_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

txtDriverInitializerTypeName_TextChanged() protected method

protected txtDriverInitializerTypeName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
sender object
e System.Windows.Controls.TextChangedEventArgs
return void

txtSearchResultItemTypeName_TextChanged() protected method

protected txtSearchResultItemTypeName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
sender object
e System.Windows.Controls.TextChangedEventArgs
return void