Esempio n. 1
0
#pragma warning disable 1998 // considered for removal
        async Task Kinetic(BoxView box)
#pragma warning restore 1998
        {
            var resultList = new List <Tuple <double, double> >();

            box.AnimateKinetic("kinetic", (distance, velocity) =>
            {
                resultList.Add(new Tuple <double, double>(distance, velocity));
                return(true);
            }, 100, 1);
        }