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)); } }
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)); } }