JTSImageViewController.JTSImageInfo.CombinedTitleAndAltText C# (CSharp) Method

CombinedTitleAndAltText() public method

public CombinedTitleAndAltText ( ) : string
return string
        public string CombinedTitleAndAltText()
        {
            var text = "";
            if (Title.Length > 0) {
                text += Title;
            }
            if (AltText.Length > 0 && Title != AltText) {
                text += "\n\n- - -\n\n" + AltText;
            }
            return text;
        }