internal bool OnArrayFilter(IJsonWriter jsonWriter, ValueFilterInfo <int> valueInfo, bool result) { if (arrayFiltering is null) { return(result); } var args = new JsonFilteringEventArgs <int>(jsonWriter, valueInfo, result); arrayFiltering(this, ref args); return(args.Result); }
internal bool OnObjectFilter(IJsonWriter jsonWriter, ValueFilterInfo <string> valueInfo, bool result) { if (objectFiltering is null) { return(result); } var args = new JsonFilteringEventArgs <string>(jsonWriter, valueInfo, result); objectFiltering(this, ref args); return(args.Result); }