C# Класс dotGit.Objects.Tree

Represents a tree in a git repository. Has Children of type TreeNode which can either be a blog or a tree.
Наследование: TreeNode
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Deserialize ( GitObjectReader input ) : void

Loads the tree from the GitObjectReader. The child objects themselves will be lazy loaded

Serialize ( ) : byte[]

Приватные методы

Метод Описание
LoadChildren ( ) : void

Gets called be the Children getter for lazy loading

Tree ( Repository repo ) : System
Tree ( Repository repo, string sha ) : System

Описание методов

Deserialize() публичный Метод

Loads the tree from the GitObjectReader. The child objects themselves will be lazy loaded
public Deserialize ( GitObjectReader input ) : void
input GitObjectReader A reader with inflated tree contents
Результат void

Serialize() публичный Метод

public Serialize ( ) : byte[]
Результат byte[]