private void ReadSourcePath(string arg) { var parts = arg.Split('='); if (parts.Length == 2) { SourcePath.Add(new Source() { Path = parts[1], Filter = "*.sql" }); return; } SourcePath.Add(new Source() { Path = parts[1], Filter = parts[2] }); }