# GrapeCity.CalcEngine.FunctionResolver

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_CalcEngine_FunctionResolver" data-uid="GrapeCity.CalcEngine.FunctionResolver" class="text-break">FunctionResolver Class
</h1>
  <div class="markdown level0 summary"><p>The function resolver.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">FunctionResolver</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.CalcEngine.html">GrapeCity.CalcEngine</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.CalcEngine.dll</h6>
  <h5 id="GrapeCity_CalcEngine_FunctionResolver_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FunctionResolver</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FunctionResolver</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver__ctor" data-uid="GrapeCity.CalcEngine.FunctionResolver.#ctor">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.-ctor.html#GrapeCity_CalcEngine_FunctionResolver__ctor">FunctionResolver()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.html">FunctionResolver</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_Count" data-uid="GrapeCity.CalcEngine.FunctionResolver.Count">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.Count.html#GrapeCity_CalcEngine_FunctionResolver_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Get the number of custom functions in the model.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_AddFunction_GrapeCity_CalcEngine_Function_" data-uid="GrapeCity.CalcEngine.FunctionResolver.AddFunction(GrapeCity.CalcEngine.Function)">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.AddFunction.html#GrapeCity_CalcEngine_FunctionResolver_AddFunction_GrapeCity_CalcEngine_Function_">AddFunction(Function)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new user-defined custom function to the model for use in formulas.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_ClearFunctions" data-uid="GrapeCity.CalcEngine.FunctionResolver.ClearFunctions">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.ClearFunctions.html#GrapeCity_CalcEngine_FunctionResolver_ClearFunctions">ClearFunctions()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all user-defined custom functions from the model.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_Find_System_String_" data-uid="GrapeCity.CalcEngine.FunctionResolver.Find(System.String)">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.Find.html#GrapeCity_CalcEngine_FunctionResolver_Find_System_String_">Find(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for custom functions whose names match the specified <code class="paramref">prefix</code>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_GetFunction_System_String_" data-uid="GrapeCity.CalcEngine.FunctionResolver.GetFunction(System.String)">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.GetFunction.html#GrapeCity_CalcEngine_FunctionResolver_GetFunction_System_String_">GetFunction(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a user-defined custom function from the model.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_GetFunctionEnumerator" data-uid="GrapeCity.CalcEngine.FunctionResolver.GetFunctionEnumerator">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.GetFunctionEnumerator.html#GrapeCity_CalcEngine_FunctionResolver_GetFunctionEnumerator">GetFunctionEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an IEnumerator that enumerates through the names of the custom functions in the model.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_MarkAttached_GrapeCity_CalcEngine_Function_" data-uid="GrapeCity.CalcEngine.FunctionResolver.MarkAttached(GrapeCity.CalcEngine.Function)">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.MarkAttached.html#GrapeCity_CalcEngine_FunctionResolver_MarkAttached_GrapeCity_CalcEngine_Function_">MarkAttached(Function)</a>
        </td>
        <td class="markdown level1 summary"><p>Marks the specified function as attached to a resolver.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_MatchIntelliSense_System_String_System_String_" data-uid="GrapeCity.CalcEngine.FunctionResolver.MatchIntelliSense(System.String,System.String)">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.MatchIntelliSense.html#GrapeCity_CalcEngine_FunctionResolver_MatchIntelliSense_System_String_System_String_">MatchIntelliSense(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified text matches the given IntelliSense prefix using the matching rules defined by
the calculation engine.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_RemoveFunction_System_String_" data-uid="GrapeCity.CalcEngine.FunctionResolver.RemoveFunction(System.String)">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.RemoveFunction.html#GrapeCity_CalcEngine_FunctionResolver_RemoveFunction_System_String_">RemoveFunction(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a user-defined custom function from the model.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FunctionResolver_Resolve_System_String_" data-uid="GrapeCity.CalcEngine.FunctionResolver.Resolve(System.String)">
          <a class="xref" href="GrapeCity.CalcEngine.FunctionResolver.Resolve.html#GrapeCity_CalcEngine_FunctionResolver_Resolve_System_String_">Resolve(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves a custom function by its name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><span class="xref">IFunctionResolver</span></div>
  </div>

</div>
