Method AddParameter
AddParameter(GraphDescriptor, string, string, bool)
Add a parameter in the graph
Declaration
public static ParameterDescriptor AddParameter(GraphDescriptor desc, string parameterName, string parameterType, bool isExposed = true)
Parameters
| Type | Name | Description | 
|---|---|---|
| GraphDescriptor | desc | The GraphDescriptor  | 
    
| string | parameterName | the name of the Parameter to add  | 
    
| string | parameterType | the type of Parameter to add  | 
    
| bool | isExposed | if set to   | 
    
Returns
| Type | Description | 
|---|---|
| ParameterDescriptor | Returns a new ParameterDescriptor  | 
    
AddParameter(GraphDescriptor, Type, string)
Add a parameter in the graph.
Declaration
public static ParameterDescriptor AddParameter(GraphDescriptor desc, Type propertyType, string paramName)
Parameters
| Type | Name | Description | 
|---|---|---|
| GraphDescriptor | desc | The GraphDescriptor  | 
    
| Type | propertyType | Type of the property.  | 
    
| string | paramName | The name of the newly created parameter  | 
    
Returns
| Type | Description | 
|---|---|
| ParameterDescriptor | Returns a new ParameterDescriptor  |