Esempio n. 1
0
#pragma warning restore CA1801 // Parameter id of method ConvertValueIfNecessary is never used.Remove the parameter or use it in the method body.

        private static T[] GetValueAsArray <T>(Newtonsoft.Json.Linq.JArray jArray)
        {
            var enumerable = from v in jArray.Values <T>()
                             select v;

            return(enumerable.ToArray());
        }