public override string ToString() { var percent = Math.Round(Visibility, 2); return($"The Moon for {Moment} is {DaysIntoCycle} days\n" + $"into the cycle, and is showing as \"{Name}\"\n" + $"with {percent}% visibility, and a face of {Emoji} from the {Hemisphere.ToString().ToLowerInvariant()} hemisphere."); }
/// <summary> /// Get the significant details of what needs approval /// </summary> /// <returns>A list of strings</returns> public override IDictionary <string, string> SignificantDetails() { IDictionary <string, string> returnList = base.SignificantDetails(); returnList.Add("Temperature", TemperatureCoefficient.ToString()); returnList.Add("Pressure", PressureCoefficient.ToString()); returnList.Add("Biome", BaseBiome.ToString()); returnList.Add("Hemisphere", Hemisphere.ToString()); return(returnList); }
private void FormatHemisphere(ref DmsCoordinateFormatHelper helper) { var replacement = Hemisphere.ToString().Substring(0, 1); helper.FormattedString = helper.FormattedString.Replace("H", replacement); }