Exemplo n.º 1
0
        /// <inheritdoc />
        public IConstructorBuilder Param(Action <IParameterBuilder> action)
        {
            var builder = new FluentParameterBuilder();

            this.parameters.Add(builder);
            action(builder);
            return(this);
        }
Exemplo n.º 2
0
        /// <inheritdoc/>
        public IMethodBuilder Param(Action <IParameterBuilder> action)
        {
            this.ThrowIfDefined();
            var builder = new FluentParameterBuilder();

            this.parms.Add(builder);
            action(builder);
            return(this);
        }