SIFWorks ADK 2.0
DefaultValueBuilder..::ParseResults Class
NamespacesEdustructures.SifWorksDefaultValueBuilderDefaultValueBuilder..::ParseResults

[This is preliminary documentation and is subject to change.]

A helper class to parse "@method( parameterlist )" into .Net method name and parameter list, and to return the position in the source string where the caller should continue processing.
Declaration Syntax
C#Visual BasicVisual C++
public class ParseResults
Public Class ParseResults
public ref class ParseResults
Members
All MembersConstructorsMethodsFields



IconMemberDescription
DefaultValueBuilder..::ParseResultsDefaultValueBuilder..::ParseResultsNew()()
MethodName
The name of the .Net method

Parameters
The parameters to send to the .Net method

static memberparse(String, Int32)
Given a source string and an index into that string where a .Net method begins (i.e. the location of the @ character), parse the name of the .Net method and the list of parameters. Return a new ParseResults instance of both components were found, otherwise return null. For example, if this string were passed: '@random() @strip("(801) 323-1131")', and the position parameter were 11, this function would return a new ParseResults with Position set to 32, MethodName set to 'strip', and Parameters having a single parameter of "(801) 323-1131".

Position
Position in source string immediately after closing parenthesis

Inheritance Hierarchy
Object
DefaultValueBuilder..::ParseResults

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10