Example #1
0
        public override string ToString()
        {
            switch (SettingType)
            {
            case S3DSettingType.Double:
                return($";   {Key},{string.Join(",", DoubleValues.Select(s => s.ToString("0.##")))}");

            case S3DSettingType.Integer:
                return($";   {Key},{string.Join(",", IntValues.Select(s => s.ToString()))}");

            case S3DSettingType.Text:
                return($";   {Text}");

            case S3DSettingType.Empty:
                return(string.Empty);
            }

            return(string.Empty);
        }