예제 #1
0
        ///<summary>A comma-separated list of fields to clear when using the `field_data` parameter (default: all)</summary>
        internal static ClearCacheRequestParameters _Fields <T>(
            this ClearCacheRequestParameters qs,
            IEnumerable <Expression <Func <T, object> > > fields)
            where T : class
        {
            var _fields = fields.Select(e => (PropertyPathMarker)e);

            qs.AddQueryString("fields", _fields);
            return(qs);
        }
예제 #2
0
 ///<summary>A comma-separated list of fields to clear when using the `field_data` parameter (default: all)</summary>
 internal static ClearCacheRequestParameters _Fields <T>(this ClearCacheRequestParameters qs, IEnumerable <Expression <Func <T, object> > > fields) where T : class =>
 qs.AddQueryString("fields", fields.Select(e => (Field)e));