C# 클래스 GitHub.Models.RepositoryModelBase

상속: GitHub.Primitives.NotificationAwareObject, IRepositoryModel
파일 보기 프로젝트 열기: github/VisualStudio

공개 메소드들

메소드 설명
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