Class FlowGenerationUtility
Inheritance
FlowGenerationUtility
Syntax
public static class FlowGenerationUtility
Methods
CodeName(IUnitPort)
Declaration
public static string CodeName(this IUnitPort port)
Parameters
Returns
DeclareLocal(IMethodBaseGeneration, CodeTypeReference, IUnitPort, CodeExpression)
Declaration
public static CodeVariableDeclarationStatement DeclareLocal(this IMethodBaseGeneration method, CodeTypeReference type, IUnitPort port, CodeExpression initExpression = null)
Parameters
Returns
ErrorName(IUnitPort)
Declaration
public static string ErrorName(this IUnitPort port)
Parameters
Returns
Declaration
public static CodeExpression GenerateExpression(this ValueInput valueInput, MethodGeneration method)
Parameters
Returns
Declaration
public static CodeExpression GenerateExpression(this ValueInput valueInput, MethodGeneration method, HybridType destinationType)
Parameters
Returns
GenerateScopedStatements(ControlOutput, MethodGeneration)
Declaration
public static IEnumerable<CodeStatement> GenerateScopedStatements(this ControlOutput controlOutput, MethodGeneration method)
Parameters
Returns
Declaration
public static CodeExpression GenerateSourceExpression(this ValueInput valueInput, MethodGeneration method)
Parameters
Returns
Declaration
public static IEnumerable<CodeStatement> GenerateStatements(this ControlInput controlInput, MethodGeneration method)
Parameters
Returns
GenerateStatements(ControlOutput, MethodGeneration)
Declaration
public static IEnumerable<CodeStatement> GenerateStatements(this ControlOutput controlOutput, MethodGeneration method)
Parameters
Returns
Declaration
public static CodeExpression GenerateTargetExpression(MethodGeneration method, BoltType targetType, ValueInput target)
Parameters
Returns
Declaration
public static CodeExpression GenerateUnconvertedExpression(this ValueInput valueInput, MethodGeneration method)
Parameters
Returns
Declaration
public static IEnumerable<CodeStatement> GenerateValueInputDependencies(this IUnitPort destination, MethodGeneration method)
Parameters
Returns
Declaration
public static HybridType GetSourceType(this ValueInput valueInput, MethodGeneration method)
Parameters
Returns