Microsoft.Azure.Commands.Dns.DnsRecordBase.ToPowerShellTxtValue C# (CSharp) Method

ToPowerShellTxtValue() private static method

private static ToPowerShellTxtValue ( ICollection value ) : string
value ICollection
return string
        private static string ToPowerShellTxtValue(ICollection<string> value)
        {
            if (value == null || value.Count == 0)
            {
                return null;
            }
            
            var sb = new StringBuilder();
            foreach (var s in value)
            {
                sb.Append(s);
            }

            return sb.ToString();
        }
    }