C# Class GitHub.Models.RepositoryModelBase

Inheritance: GitHub.Primitives.NotificationAwareObject, IRepositoryModel
ファイルを表示 Open project: github/VisualStudio

Public Methods

Method Description
SetIcon ( bool isPrivate, bool isFork ) : void

Sets the Icon based on a private and fork state.

Protected Methods

Method 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 method

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. ///
return System

RepositoryModelBase() protected method

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.
return System

SetIcon() public method

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.
return void