Share via


PickerDialog.CreateDialogNoFixup<T> Method (IServiceProvider, ModelBusReference, IEnumerable<PickerMetadataBaseAttribute>)

 

Creates a PickerDialog and initializes it based on the parameters.

Namespace:   Microsoft.VisualStudio.Modeling.Integration.Shell.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0.dll)

Syntax

public static PickerDialog CreateDialogNoFixup<T>(
    IServiceProvider serviceProvider,
    ModelBusReference modelBusReference,
    IEnumerable<PickerMetadataBaseAttribute> metadata = null
)
where T : Control, IModelBrowser
public:
generic<typename T>
where T : Control, IModelBrowser
static PickerDialog^ CreateDialogNoFixup(
    IServiceProvider^ serviceProvider,
    ModelBusReference^ modelBusReference,
    IEnumerable<PickerMetadataBaseAttribute^>^ metadata = null
)
static member CreateDialogNoFixup<'T when 'T : Control and IModelBrowser> : 
        serviceProvider:IServiceProvider *
        modelBusReference:ModelBusReference *
        metadata:IEnumerable<PickerMetadataBaseAttribute> = null -> PickerDialog
Public Shared Function CreateDialogNoFixup(Of T As { Control, IModelBrowser }) (
    serviceProvider As IServiceProvider,
    modelBusReference As ModelBusReference,
    metadata As IEnumerable(Of PickerMetadataBaseAttribute)
) As PickerDialog

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.Shell.Picker.PickerDialog

Type Parameters

  • T

Exceptions

Exception Condition
ArgumentNullException

When modelBus or modelBrowserType is null.

NotSupportedException

When modelBrowserType is not a WPF control–based class that implements IModelBrowser also.

See Also

CreateDialogNoFixup Overload
PickerDialog Class
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace

Return to top