Exemplo n.º 1
0
        /// <summary>
        /// Set a specific value into a set of Properties specified by the matching func
        /// </summary>
        /// <param name="matchingFunc">property matching func</param>
        /// <param name="value">func to be used to provide value</param>
        /// <returns>customization instance</returns>
        public ICustomizeModel <T> SetProperties(Func <PropertyInfo, bool> matchingFunc, Func <DataRequest, PropertyInfo, object> value)
        {
            _complexModel.AddPropertiesValue(matchingFunc, value);

            return(this);
        }