/// <summary>
 /// Generates and loads all the parameters required for the given contract.
 /// </summary>
 /// <param name="contract">Contract to load parameters for</param>
 /// <returns>Whether the generation was successful.</returns>
 public bool GenerateParameters(ConfiguredContract contract)
 {
     return(ParameterFactory.GenerateParameters(contract, contract, paramFactories));
 }
示例#2
0
 /// <summary>
 /// Generates and loads all the parameters required for the given contract.
 /// </summary>
 /// <param name="contract">Contract to load parameters for</param>
 /// <returns>Whether the generation was successful.</returns>
 public bool GenerateParameters(ConfiguredContract contract)
 {
     return(ParameterFactory.GenerateParameters(contract, contract, paramFactories) &&
            contract.ParameterCount > 0); // Check that at least one parameter was generated
 }
示例#3
0
 /*
  * Generates and loads all the parameters required for the given contract.
  */
 public void GenerateParameters(ConfiguredContract contract)
 {
     ParameterFactory.GenerateParameters(contract, contract, paramFactories);
 }