C# Class WpfGists.ViewModel.GistsWindowViewModel

Inheritance: INotifyPropertyChanged
ファイルを表示 Open project: pierre3/GistsApi Class Usage Examples

Public Methods

Method Description
GistsWindowViewModel ( string clientId, string clientSecret ) : GistsApi
NavigateToGistLogin ( ) : void

Private Methods

Method Description
CanCreateAGist ( ) : bool
CanDelete ( ) : bool
CanDeleteFile ( ) : bool
CanEditAGist ( ) : bool
CreateAGist ( ) : void
CreateAMultiFileGist ( ) : void
CreateASingleFileGist ( ) : System.Threading.Tasks.Task
DeleteAGist ( ) : void
DeleteFile ( ) : void
DownloadItem ( File file ) : void
EditAGist ( ) : void
FileOpened ( string fileNames ) : void
ForkAGist ( ) : void
GistListItem_SelectedFileChanged ( File file ) : void
IsSelected ( ) : bool
ListGists ( GistClient mode ) : void
ListMyGists ( ) : System.Threading.Tasks.Task
ListPublicGists ( ) : System.Threading.Tasks.Task
ListStarredGists ( ) : System.Threading.Tasks.Task
ListUsersGists ( string userName ) : System.Threading.Tasks.Task
MoveList ( string linkUrl ) : void
NavigateCompleted ( NavigationResult result ) : void
OnPropertyChanged ( string name ) : void
OpenFiles ( string fileNames ) : string>>.IObservable
OpenItem ( File file ) : void
SaveToFile ( string fileNames ) : void
StarAGist ( ) : void
TryAsyncApi ( string apiName, Func callApi ) : System.Threading.Tasks.Task
UnstarAGist ( ) : void

Method Details

GistsWindowViewModel() public method

public GistsWindowViewModel ( string clientId, string clientSecret ) : GistsApi
clientId string
clientSecret string
return GistsApi

NavigateToGistLogin() public method

public NavigateToGistLogin ( ) : void
return void