Click here to Skip to main content
15,895,084 members
Articles / Programming Languages / C#

Use Rules In Your Applications

Rate me:
Please Sign up or sign in to vote.
4.84/5 (19 votes)
29 Aug 2006CPOL2 min read 112.4K   2.7K   93  
A Rules Engine class library with source code and documentation
<html dir="LTR">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>ExpressionMachine Members</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">Rules Processing Library by Jaxlab</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">ExpressionMachine Members
					</h1>
      </div>
    </div>
    <div id="nstext">
      <p>
        <a href="Jaxlab.Rules.ExpressionMachine.html">ExpressionMachine overview</a>
      </p>
      <h4 class="dtH4">Private Static (Shared) Fields</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><img src="static.gif" /><a href="Jaxlab.Rules.ExpressionMachine.DEL.html">DEL</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><img src="static.gif" /><a href="Jaxlab.Rules.ExpressionMachine.NONE.html">NONE</a></td><td width="50%">
            
            </td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><img src="static.gif" /><a href="Jaxlab.Rules.ExpressionMachine.NUM.html">NUM</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><img src="static.gif" /><a href="Jaxlab.Rules.ExpressionMachine.VAR.html">VAR</a></td><td width="50%">
            
            </td></tr></table>
      </div>
      <h4 class="dtH4">Public Instance Constructors</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
          <tr VALIGN="top">
            <td width="50%">
              <img src="pubmethod.gif" />
              <a href="Jaxlab.Rules.ExpressionMachineConstructor.html">ExpressionMachine Constructor</a>
            </td>
            <td width="50%"> Default constructor </td>
          </tr>
        </table>
      </div>
      <h4 class="dtH4">Public Instance Fields</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.variables.html">variables</a></td><td width="50%"> This is the internal list of variables </td></tr></table>
      </div>
      <h4 class="dtH4">Public Instance Properties</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.BoolResult.html">BoolResult</a></td><td width="50%"> The boolean result of the expression </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.Errors.html">Errors</a></td><td width="50%"> Any parsing errors that may have occurred. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.Result.html">Result</a></td><td width="50%"> The result as a double </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.StringResult.html">StringResult</a></td><td width="50%"> The string of the result of the expression. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.TypeOfResult.html">TypeOfResult</a></td><td width="50%"> The enumeration type of the result. </td></tr></table>
      </div>
      <h4 class="dtH4">Public Instance Methods</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.Compare.html">Compare</a></td><td width="50%"> Loads and resolves a comparison string </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassEqualsTopic.htm">Equals</a> (inherited from <b>Object</b>)</td><td width="50%">
        Determines whether the specified <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> is equal to the current <b>Object</b>.
      </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.GetDeveloperInfo.html">GetDeveloperInfo</a></td><td width="50%"> Returns the developer contact info </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetHashCodeTopic.htm">GetHashCode</a> (inherited from <b>Object</b>)</td><td width="50%">
        Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
      </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetTypeTopic.htm">GetType</a> (inherited from <b>Object</b>)</td><td width="50%">
        Gets the <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemTypeClassTopic.htm">Type</a> of the current instance.
      </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.Resolve.html">Resolve</a></td><td width="50%"> This is the method to call to run the expression machine. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassToStringTopic.htm">ToString</a> (inherited from <b>Object</b>)</td><td width="50%">
        Returns a <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">String</a> that represents the current <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a>.
      </td></tr></table>
      </div>
      <h4 class="dtH4">Protected Instance Methods</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassFinalizeTopic.htm">Finalize</a> (inherited from <b>Object</b>)</td><td width="50%">
        Allows an <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> to attempt to free resources and perform other cleanup operations before the <b>Object</b> is reclaimed by garbage collection.
      </td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassMemberwiseCloneTopic.htm">MemberwiseClone</a> (inherited from <b>Object</b>)</td><td width="50%">
        Creates a shallow copy of the current <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a>.
      </td></tr></table>
      </div>
      <h4 class="dtH4">Private Instance Fields</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.bIsStringCompare.html">bIsStringCompare</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.bNoOperator.html">bNoOperator</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.bResult.html">bResult</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.errors.html">errors</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.expr.html">expr</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.m_oVarEngine.html">m_oVarEngine</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.pos.html">pos</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.resType.html">resType</a></td><td width="50%"> The Result type of the expression. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.result.html">result</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.strResult.html">strResult</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.token.html">token</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privfield.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.type.html">type</a></td><td width="50%">�</td></tr></table>
      </div>
      <h4 class="dtH4">Private Instance Methods</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.addOrSubtract.html">addOrSubtract</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.AndOrLocate.html">AndOrLocate</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.assignment.html">assignment</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.deg.html">deg</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.Evaluate.html">Evaluate</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.GetAttrs.html">GetAttrs</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.GetAttrValues.html">GetAttrValues</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.HasOperator.html">HasOperator</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.isAlpha.html">isAlpha</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.isComparator.html">isComparator</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.isComparison.html">isComparison</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.isCompoundComparison.html">isCompoundComparison</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.isDelimiter.html">isDelimiter</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.isMinus.html">isMinus</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.isNumeric.html">isNumeric</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.IsOperator.html">IsOperator</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.isWhite.html">isWhite</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.literal.html">literal</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.multiDivOrMod.html">multiDivOrMod</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.NormalizeAttrSpaces.html">NormalizeAttrSpaces</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.Parse.html">Parse</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.plusOrMinus.html">plusOrMinus</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.powerUp.html">powerUp</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.processComparison.html">processComparison</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.rad.html">rad</a></td><td width="50%">�</td></tr>
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="Jaxlab.Rules.ExpressionMachine.StripAttrs.html">StripAttrs</a></td><td width="50%">�</td></tr></table>
      </div>
      <h4 class="dtH4">See Also</h4>
      <p>
        <a href="Jaxlab.Rules.ExpressionMachine.html">ExpressionMachine Class</a> | <a href="Jaxlab.Rules.html">Jaxlab.Rules Namespace</a></p>
      <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
        <param name="Keyword" value="ExpressionMachine class">
        </param>
        <param name="Keyword" value="Jaxlab.Rules.ExpressionMachine class">
        </param>
        <param name="Keyword" value="ExpressionMachine class, all members">
        </param>
      </object>
      <hr />
      <div id="footer">
        <p>
          <a href="mailto:jeff_bramlett@hotmail.com?subject=Rules%20Processing%20Library%20by%20Jaxlab%20Documentation%20Feedback:%20ExpressionMachine%20Members&#xD;&#xA;						">Send comments on this topic.</a>
        </p>
        <p>
          <a href="http://www.jaxlab.com">Copyright by Jeff Bramlett 2005</a>
        </p>
        <p>Generated from assembly JaxlabRulesEngine [1.0.2431.14881]</p>
      </div>
    </div>
  </body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Website: http://www.somedeveloper.us

Comments and Discussions