src/Microsoft.PowerShell.GraphicalHost/ManagementList/FilterProviders/FilterRulePanel.cs
/// <summary>
/// Gets a DataTemplate associated with a type.
/// </summary>
/// <param name="type">A Type whose DataTemplate will be returned.</param>
/// <param name="dataTemplate">A DataTemplate registered for type.</param>
/// <returns>Returns true if there is a DataTemplate registered for type, false otherwise.</returns>
Gets a DataTemplate associated with a type.
Gets a DataTemplate associated with a type .
public bool TryGetContentTemplate(Type type, out DataTemplate dataTemplate)
        {
            dataTemplate = null;
            return this.filterRuleTemplateSelector.TemplateDictionary.TryGetValue(type, out dataTemplate);
        }
public bool TryGetContentTemplate ( Type type , out DataTemplate dataTemplate ) { dataTemplate = null ; return this . filterRuleTemplateSelector . TemplateDictionary . TryGetValue ( type , out dataTemplate ) ; }
Gets a DataTemplate associated with a type.
Gets a DataTemplate associated with a type .
Returns true if there is a DataTemplate registered for type, false otherwise.
Returns true if there is a DataTemplate registered for type false otherwise .
type
Type
A Type whose DataTemplate will be returned.
A Type whose DataTemplate will be returned .
DataTemplate
out
dataTemplate
A DataTemplate registered for type.
A DataTemplate registered for type .