<Type Name="DependencyResolver" FullName="Microsoft.Maui.Controls.Internals.DependencyResolver">
  <TypeSignature Language="C#" Value="public static class DependencyResolver" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit DependencyResolver extends System.Object" />
  <TypeSignature Language="DocId" Value="T:Microsoft.Maui.Controls.Internals.DependencyResolver" />
  <TypeSignature Language="F#" Value="type DependencyResolver = class" />
  <AssemblyInfo>
    <AssemblyName>Microsoft.Maui.Controls.Core</AssemblyName>
    <AssemblyVersion>0.0.0.0</AssemblyVersion>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>Contains static methods that add functions to use for resolving dependencies.</summary>
    <remarks>To be added.</remarks>
  </Docs>
  <Members>
    <Member MemberName="ResolveUsing">
      <MemberSignature Language="C#" Value="public static void ResolveUsing (Func&lt;Type,object[],object&gt; resolver);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig void ResolveUsing(class System.Func`3&lt;class System.Type, object[], object&gt; resolver) cil managed" />
      <MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.Internals.DependencyResolver.ResolveUsing(System.Func{System.Type,System.Object[],System.Object})" />
      <MemberSignature Language="F#" Value="static member ResolveUsing : Func&lt;Type, obj[], obj&gt; -&gt; unit" Usage="Microsoft.Maui.Controls.Internals.DependencyResolver.ResolveUsing resolver" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyName>Microsoft.Maui.Controls.Core</AssemblyName>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="resolver" Type="System.Func&lt;System.Type,System.Object[],System.Object&gt;" />
      </Parameters>
      <Docs>
        <param name="resolver">A function that returns an instance of a type from an array that provides matching types, or <see langword="null" /> if the type is not supported.</param>
        <summary>Specifies a resolution function that attempts to return an instance of a specified type.</summary>
        <remarks>
          <paramref name="resolver" /> must return <see langword="null" /> for types that it does not support, because a return value of <see langword="null" /> passes the type through to Microsoft.Maui.Controls so that it may attempt to resolve the type itself.</remarks>
      </Docs>
    </Member>
    <Member MemberName="ResolveUsing">
      <MemberSignature Language="C#" Value="public static void ResolveUsing (Func&lt;Type,object&gt; resolver);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig void ResolveUsing(class System.Func`2&lt;class System.Type, object&gt; resolver) cil managed" />
      <MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.Internals.DependencyResolver.ResolveUsing(System.Func{System.Type,System.Object})" />
      <MemberSignature Language="F#" Value="static member ResolveUsing : Func&lt;Type, obj&gt; -&gt; unit" Usage="Microsoft.Maui.Controls.Internals.DependencyResolver.ResolveUsing resolver" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyName>Microsoft.Maui.Controls.Core</AssemblyName>
        <AssemblyVersion>0.0.0.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="resolver" Type="System.Func&lt;System.Type,System.Object&gt;" />
      </Parameters>
      <Docs>
        <param name="resolver">A function that returns an instance of a type, or <see langword="null" /> if the type is not supported.</param>
        <summary>Specifies a resolution function that attempts to return an instance of the specified type.</summary>
        <remarks>
          <para>
            <paramref name="resolver" /> must return <see langword="null" /> for types that it does not support, because a return value of <see langword="null" /> passes the type through to Microsoft.Maui.Controls so that it may attempt to resolve the type itself.</para>
        </remarks>
      </Docs>
    </Member>
  </Members>
</Type>
