Encapsulates an effort in the Strava API
Beispiel #1
0
        public override string ToString()
        {
            var builder = new StringBuilder();

            builder.AppendFormat("\nEffort: {0}\n", Effort != null ? Effort.ToString() : string.Empty);
            builder.AppendFormat("Segment: {0}\n", Segment != null ? Segment.ToString() : string.Empty);

            return(builder.ToString());
        }
Beispiel #2
0
        public override string ToString()
        {
            var builder = new StringBuilder();

            builder.AppendFormat("\nRank: {0}\n", Rank);
            builder.AppendFormat("Effort: {0}\n", Effort != null ? Effort.ToString() : string.Empty);
            builder.AppendFormat("Athlete: {0}\n", Athlete != null ? Athlete.ToString() : string.Empty);

            return(builder.ToString());
        }