StreetFoo.Client.ReportItem.PushServerImageUpdateAsync C# (CSharp) Method

PushServerImageUpdateAsync() private method

private PushServerImageUpdateAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        private Task PushServerImageUpdateAsync()
        {
            // no-op if not changed...
            if (!(this.ImageChanged))
                return Task.FromResult<bool>(false);

            // won't do this in the book, but will be in the downloads...
            this.ImageChanged = false;
            return Task.FromResult<bool>(true);
        }
    }