src/Misc/EFTools/EntityDesign/UI/Views/MappingDetails/MappingDetailsWindow.cs
// <summary>
//     As long as we have an EditingContext, we can create our MappingDetailsInfo instance
// </summary>
As long as we have an EditingContext, we can create our MappingDetailsInfo instance
As long as we have an EditingContext we can create our MappingDetailsInfo instance
private void InitializeView()
        {
            if (_editingContext == null)
            {
                _currentMappingDetailsInfo = null;
            }
            else
            {
                _currentMappingDetailsInfo = _editingContext.Items.GetValue<MappingDetailsInfo>();
                if (_currentMappingDetailsInfo.SelectionContainer == null)
                {
                    _currentMappingDetailsInfo.SetMappingDetailsInfo(
                        this,
                        _editingContext,
                        new EntityDesignSelectionContainer<MappingDetailsSelection>(this, _editingContext)
                        );
                }
            }
            ClearToolWindowContents(true);
        }
private void InitializeView ( ) { if ( _editingContext == null ) { _currentMappingDetailsInfo = null ; } else { _currentMappingDetailsInfo = _editingContext . Items . GetValue < MappingDetailsInfo > ( ) ; if ( _currentMappingDetailsInfo . SelectionContainer == null ) { _currentMappingDetailsInfo . SetMappingDetailsInfo ( this , _editingContext , new EntityDesignSelectionContainer < MappingDetailsSelection > ( this , _editingContext ) ) ; } } ClearToolWindowContents ( true ) ; }
As long as we have an EditingContext, we can create our MappingDetailsInfo instance
As long as we have an EditingContext we can create our MappingDetailsInfo instance