EventStore.Documentation.DocumentGenerator.GetValues C# (CSharp) Méthode

GetValues() public static méthode

public static GetValues ( object value ) : string
value object
Résultat string
        public static string GetValues(object value)
        {
            if (value is Array)
            {
                var values = String.Empty;
                foreach (var val in (Array)value)
                {
                    values += val + ",";
                }
                return values.Length > 1 ? values.Substring(0, values.Length - 1) : "n/a";
            }
            return value == null ? "" : value.ToString();
        }
    }
DocumentGenerator