/// <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)); }
/// <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 }
/* * Generates and loads all the parameters required for the given contract. */ public void GenerateParameters(ConfiguredContract contract) { ParameterFactory.GenerateParameters(contract, contract, paramFactories); }