# GrapeCity.ActiveReports.Win.Tools.LazyAction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Win_Tools_LazyAction" data-uid="GrapeCity.ActiveReports.Win.Tools.LazyAction" class="text-break">LazyAction Class
</h1>
  <div class="markdown level0 summary"><p>Represents a deferred action to perform a single action instead of a sequence of actions called within a specified delay.</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">LazyAction</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Win.Tools.html">GrapeCity.ActiveReports.Win.Tools</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Win.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Win_Tools_LazyAction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class LazyAction</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_ActiveReports_Win_Tools_LazyAction__ctor" data-uid="GrapeCity.ActiveReports.Win.Tools.LazyAction.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Tools.LazyAction.-ctor.html#GrapeCity_ActiveReports_Win_Tools_LazyAction__ctor">LazyAction()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="GrapeCity.ActiveReports.Win.Tools.LazyAction.html">LazyAction</a> using the default delay of one second.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Tools_LazyAction__ctor_System_TimeSpan_" data-uid="GrapeCity.ActiveReports.Win.Tools.LazyAction.#ctor(System.TimeSpan)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Tools.LazyAction.-ctor.html#GrapeCity_ActiveReports_Win_Tools_LazyAction__ctor_System_TimeSpan_">LazyAction(TimeSpan)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="GrapeCity.ActiveReports.Win.Tools.LazyAction.html">LazyAction</a> with the specified delay.</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_ActiveReports_Win_Tools_LazyAction_Execute_System_Action_" data-uid="GrapeCity.ActiveReports.Win.Tools.LazyAction.Execute(System.Action)">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Tools.LazyAction.Execute.html#GrapeCity_ActiveReports_Win_Tools_LazyAction_Execute_System_Action_">Execute(Action)</a>
        </td>
        <td class="markdown level1 summary"><p>Schedules the specified synchronous action to execute after the configured delay, cancelling any previously pending execution.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Win_Tools_LazyAction_Execute_System_Func_System_Threading_Tasks_Task__" data-uid="GrapeCity.ActiveReports.Win.Tools.LazyAction.Execute(System.Func{System.Threading.Tasks.Task})">
          <a class="xref" href="GrapeCity.ActiveReports.Win.Tools.LazyAction.Execute.html#GrapeCity_ActiveReports_Win_Tools_LazyAction_Execute_System_Func_System_Threading_Tasks_Task__">Execute(Func&lt;Task&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Schedules the specified asynchronous action to execute after the configured delay, cancelling any previously pending execution.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
