C# Класс GitHub.Models.RepositoryModelBase

Наследование: GitHub.Primitives.NotificationAwareObject, IRepositoryModel
Показать файл Открыть проект

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

Метод Описание
SetIcon ( bool isPrivate, bool isFork ) : void

Sets the Icon based on a private and fork state.

Защищенные методы

Метод Описание
RepositoryModelBase ( string path ) : System

Initializes a new instance of the RepositoryModelBase class.

RepositoryModelBase ( string name, UriString cloneUrl ) : System

Initializes a new instance of the RepositoryModelBase class.

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

RepositoryModelBase() защищенный Метод

Initializes a new instance of the RepositoryModelBase class.
protected RepositoryModelBase ( string path ) : System
path string /// The path to the local repository from which repository name and clone URL will be /// extracted. ///
Результат System

RepositoryModelBase() защищенный Метод

Initializes a new instance of the RepositoryModelBase class.
protected RepositoryModelBase ( string name, UriString cloneUrl ) : System
name string The repository name.
cloneUrl UriString The repository's clone URL.
Результат System

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

Sets the Icon based on a private and fork state.
public SetIcon ( bool isPrivate, bool isFork ) : void
isPrivate bool Whether the repository is a private repository.
isFork bool Whether the repository is a fork.
Результат void