GetPropertiesDisplay() public method

public GetPropertiesDisplay ( TSqlObject item ) : UIElement
item TSqlObject
return UIElement
Ejemplo n.º 1
0
        private void DisplayObject(string rootNodeHeader, TSqlObject currentObject,
                                   TreeViewItem currentObjectTreeViewItem)
        {
            var propertiesPageBuilder = new PropertiesPageBuilder();
            var properties            = propertiesPageBuilder.GetPropertiesDisplay(currentObject);
            var script = GetScript(currentObject);

            currentObjectTreeViewItem.Tag = new CachedObjectDisplay
            {
                Properties = properties,
                Script     = script
            };

            var childObjectTypes = new Dictionary <string, TreeViewItem>();

            DisplyChildObjects(rootNodeHeader, currentObjectTreeViewItem, currentObject, childObjectTypes);
        }
Ejemplo n.º 2
0
        private void DisplayObject(string rootNodeHeader, TSqlObject currentObject,
            TreeViewItem currentObjectTreeViewItem)
        {
            var propertiesPageBuilder = new PropertiesPageBuilder();
            var properties = propertiesPageBuilder.GetPropertiesDisplay(currentObject);
            var script = GetScript(currentObject);

            currentObjectTreeViewItem.Tag = new CachedObjectDisplay
            {
                Properties = properties,
                Script = script
            };

            var childObjectTypes = new Dictionary<string, TreeViewItem>();

            DisplyChildObjects(rootNodeHeader, currentObjectTreeViewItem, currentObject, childObjectTypes);
        }