TMXGlueLib.Tileset.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            string toReturn = this.Name;

            if (!string.IsNullOrEmpty(Source))
            {
                string sourceWithoutPath = FileManager.RemovePath(Source);
                toReturn += " (" + sourceWithoutPath + ")";
            }

            return toReturn;
        }
    }