C# Class nature_net.file_manager

Exibir arquivo Open project: naturenet/nature-net-ppi

Public Methods

Method Description
add_user_to_googledrive ( int user_id, string username, string avatar ) : void
download_file_from_googledirve ( string file_name, int contribution_id ) : bool
retrieve_and_process_idea_changes_from_googledrive ( ) : void
retrieve_and_process_media_changes_from_googledrive ( ) : void
retrieve_and_process_user_changes_from_googledrive ( ) : void

Private Methods

Method Description
googledrive_getauthorization ( Google.Apis.Authentication.OAuth2.DotNetOpenAuth.NativeApplicationClient client ) : IAuthorizationState

Method Details

add_user_to_googledrive() public static method

public static add_user_to_googledrive ( int user_id, string username, string avatar ) : void
user_id int
username string
avatar string
return void

download_file_from_googledirve() public static method

public static download_file_from_googledirve ( string file_name, int contribution_id ) : bool
file_name string
contribution_id int
return bool

retrieve_and_process_idea_changes_from_googledrive() public static method

public static retrieve_and_process_idea_changes_from_googledrive ( ) : void
return void

retrieve_and_process_media_changes_from_googledrive() public static method

public static retrieve_and_process_media_changes_from_googledrive ( ) : void
return void

retrieve_and_process_user_changes_from_googledrive() public static method

public static retrieve_and_process_user_changes_from_googledrive ( ) : void
return void