This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class ViperMethod
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class ViperMethod

The type exposes the following members.

Public Constructors

  Name Description
Public method ViperMethod Overloaded.

Public Methods

  Name Description
Public method Clone
Creates a clone of this ViperMethod.
Public method Equals (Inherited from Object.)
Public method Execute
Executes the Viper method
Public method GetHashCode (Inherited from Object.)
Public method Static member GetInstanceViperMethodScope
Returns the scope of the viper method.
Public method GetType (Inherited from Object.)
Public method Static member IsInstanceViperMethod Overloaded.
Public method Static member IsValidViperMethodNameCharacter
Determines whether specified character is a valid viper method name character at given index.
Public method Static member IsViperMethodName Overloaded.
Public method ToString Overloaded.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnViperEvent
Protected method OnViperExecuteEvent

Public Fields

  Name Description
Public field Static member GetVariableMethodName
Name of the vipermethod used by the $-operator.
Public field Static member MaxMethodNameLength
The maximum allowed length of a Viper name and Viper parameter name.
Public field Static member MinMethodNameLength
The minimum length of a Viper name and Viper parameter name.

Public Properties

  Name Description
Public property CleanOuterText
Returns the cleaned outer text string
Public property ContainsInvalidVipers
Indicates whether it includes one or more vipers methods with status IsValid set to false.
Public property Flags
Gets or sets the custom Viper flags.
Public property IsDeterministic
Deterministic implies that the result only depends on the input parameters.
Public property IsValid
Indicates whether the viper is valid and executable.
Public property Length
Public property Name
Gets the name of this Viper method
Public property OuterText
Returns the outer text string
Public property Parameters
Gets the parameters of this Viper method
Public property Params
Returns a ViperParameters object with the resolved viper parameters.
Public property PassUnresolvedParameters
Pass the expression itself, not the expression result, in the vipermethod parameters.
Public property RawParameters
Gets the raw parameters of this Viper method
Public property StartIndex
Public property UnresolvedParams
Returns a ViperParameters object with the unresolved viper parameters.

Public Events

  Name Description
Public event ViperExecuteEvent
ViperExecuteEvents are raised during Execution using Execute()

See Also

Advanced