C# Class GitHub.Models.RepositoryModelBase

Inheritance: GitHub.Primitives.NotificationAwareObject, IRepositoryModel
Afficher le fichier Open project: github/VisualStudio

Méthodes publiques

Méthode Description
SetIcon ( bool isPrivate, bool isFork ) : void

Sets the Icon based on a private and fork state.

Méthodes protégées

Méthode Description
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.

Method Details

RepositoryModelBase() protected méthode

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. ///
Résultat System

RepositoryModelBase() protected méthode

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.
Résultat System

SetIcon() public méthode

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.
Résultat void