Mono.Data.Sqlite.SqliteConnection.MapMonoKeyword C# (CSharp) Method

MapMonoKeyword() static private method

Maps mono-specific connection string keywords to the standard ones
static private MapMonoKeyword ( string arPiece, string>.SortedList ls ) : void
arPiece string
ls string>.SortedList
return void
    internal static void MapMonoKeyword (string[] arPiece, SortedList<string, string> ls)
    {
            string keyword, value;
            
            switch (arPiece[0].ToLower (CultureInfo.InvariantCulture)) {
                    case "uri":
                            keyword = "Data Source";
                            value = MapMonoUriPath (arPiece[1]);
                            break;
                            
                    default:
                            keyword = arPiece[0];
                            value = arPiece[1];
                            break;
            }

            ls.Add(keyword, value);
    }