Welcome to mirror list, hosted at ThFree Co, Russian Federation.

GitObjectTypeMap.cs « Core « LibGit2Sharp - github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: df33787e389f15900f8df729b0819a3d8e1582b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Collections.Generic;

namespace LibGit2Sharp.Core
{
    internal class GitObjectTypeMap : Dictionary<Type, GitObjectType>
    {
        public new GitObjectType this[Type type]
        {
            get { return !ContainsKey(type) ? GitObjectType.Any : base[type]; }
        }
    }
}