getAlternates() public méthode

Get the alternate databases known to this database.
public getAlternates ( ) : GitSharp.Core.ObjectDatabase[]
Résultat GitSharp.Core.ObjectDatabase[]
Exemple #1
0
        protected override ObjectDatabase[] loadAlternates()
        {
            ObjectDatabase[] loaded = wrapped.getAlternates();
            var result = new ObjectDatabase[loaded.Length];

            for (int i = 0; i < loaded.Length; i++)
            {
                result[i] = loaded[i].newCachedDatabase();
            }
            return(result);
        }
Exemple #2
0
 protected override ObjectDatabase[] loadAlternates()
 {
     return(_objectDatabase.getAlternates());
 }