示例#1
0
        private string WriteRepository(ResourcesDescriptor resources)
        {
            if (resources != null && resources.repository != null)
            {
                return(QuoteIfNecessary(resources.repository.ToString()));
            }

            return(string.Empty);
        }
示例#2
0
        private string WriteKerbalStuff(ResourcesDescriptor resources)
        {
            if (resources != null && resources.kerbalstuff != null)
            {
                return(QuoteIfNecessary(resources.kerbalstuff.ToString()));
            }

            return(string.Empty);
        }
示例#3
0
        private string WriteSpaceDock(ResourcesDescriptor resources)
        {
            if (resources != null && resources.spacedock != null)
            {
                return(QuoteIfNecessary(resources.spacedock.ToString()));
            }

            return(string.Empty);
        }
示例#4
0
        private string WriteHomepage(ResourcesDescriptor resources)
        {
            if (resources != null && resources.homepage != null)
            {
                return(QuoteIfNecessary(resources.homepage.ToString()));
            }

            return(string.Empty);
        }
示例#5
0
        private string WriteBugtracker(ResourcesDescriptor resources)
        {
            if (resources != null && resources.bugtracker != null)
            {
                return(QuoteIfNecessary(resources.bugtracker.ToString()));
            }

            return(string.Empty);
        }
        private string WriteRepository(ResourcesDescriptor resources)
        {
            if (resources != null && resources.repository != null)
            {
                return QuoteIfNecessary(resources.repository.ToString());
            }

            return string.Empty;
        }
        private string WriteKerbalStuff(ResourcesDescriptor resources)
        {
            if (resources != null && resources.kerbalstuff != null)
            {
                return QuoteIfNecessary(resources.kerbalstuff.ToString());
            }

            return string.Empty;
        }
        private string WriteHomepage(ResourcesDescriptor resources)
        {
            if (resources != null && resources.homepage != null)
            {
                return QuoteIfNecessary(resources.homepage.ToString());
            }

            return string.Empty;
        }
        private string WriteBugtracker(ResourcesDescriptor resources)
        {
            if (resources != null && resources.bugtracker != null)
            {
                return QuoteIfNecessary(resources.bugtracker.ToString());
            }

            return string.Empty;
        }
        private string WriteSpaceDock(ResourcesDescriptor resources)
        {
            if (resources != null && resources.spacedock != null)
            {
                return QuoteIfNecessary(resources.spacedock.ToString());
            }

            return string.Empty;
        }