public string GetSeperator(SeperatorType seperatorType)
 {
     switch (seperatorType)
     {
         case SeperatorType.Line:
             return _settings.Line;
         case SeperatorType.Indent:
             return _settings.Indent;
         default:
             throw new NotSupportedException(string.Format("Unknown seperator type: {0}", seperatorType));
     }
 }
Esempio n. 2
0
        public string GetSeperator(SeperatorType seperatorType)
        {
            switch (seperatorType)
            {
            case SeperatorType.Line:
                return(_settings.Line);

            case SeperatorType.Indent:
                return(_settings.Indent);

            default:
                throw new NotSupportedException(string.Format("Unknown seperator type: {0}", seperatorType));
            }
        }