# GrapeCity.Enterprise.Data.Expressions.CompoundExpressionInfo.-ctor

## Content

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



<h1 id="GrapeCity_Enterprise_Data_Expressions_CompoundExpressionInfo__ctor_" data-uid="GrapeCity.Enterprise.Data.Expressions.CompoundExpressionInfo.#ctor*">CompoundExpressionInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Enterprise_Data_Expressions_CompoundExpressionInfo__ctor_" data-uid="GrapeCity.Enterprise.Data.Expressions.CompoundExpressionInfo.#ctor*"></a>
<h4 id="GrapeCity_Enterprise_Data_Expressions_CompoundExpressionInfo__ctor_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionResultType_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_GrapeCity_Enterprise_Data_Expressions_Parser_Trees_Expressions_OperatorType_" data-uid="GrapeCity.Enterprise.Data.Expressions.CompoundExpressionInfo.#ctor(System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionResultType,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,GrapeCity.Enterprise.Data.Expressions.Parser.Trees.Expressions.OperatorType)">CompoundExpressionInfo(string, ExpressionResultType, ExpressionInfo, ExpressionInfo, OperatorType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Enterprise.Data.Expressions.CompoundExpressionInfo.html">CompoundExpressionInfo</a> class with the specified parameters</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CompoundExpressionInfo(string expression, ExpressionResultType resultType, ExpressionInfo infoLeft, ExpressionInfo infoRight, OperatorType operatorType)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">expression</span></td>
      <td><p>The string representation of the compound expression. If null or empty, it will be generated automatically.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Enterprise.Data.Expressions.ExpressionResultType.html">ExpressionResultType</a></td>
      <td><span class="parametername">resultType</span></td>
      <td><p>The expected result type of the expression evaluation.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">infoLeft</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> for the left side of the expression. This is <code>null</code> for unary expressions.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">infoRight</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> for the right side of the expression.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Enterprise.Data.Expressions.Parser.Trees.Expressions.OperatorType.html">OperatorType</a></td>
      <td><span class="parametername">operatorType</span></td>
      <td><p>The type of operator that defines the relationship between <code class="paramref">infoLeft</code> and <code class="paramref">infoRight</code>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
