C# 클래스 PicasaWebSync.PicasaAlbumSynchronizer

A class which interacts with Picasa to provide syncing between local folders and online Picasa Web Albums.
파일 보기 프로젝트 열기: bradyholt/picasawebsync 1 사용 예제들

공개 메소드들

메소드 설명
GetFileInfo ( FileInfo file, bool &isImage, bool &isVideo, ImageFormat &imageFormat, string &contentType ) : void

Returns info about a media file based upon the file extension.

PicasaAlbumSynchronizer ( ) : System
SyncFolder ( string folderPath ) : void

Syncs a local folder to an online Picasa Web Album location

비공개 메소드들

메소드 설명
AddFileToAlbum ( FileInfo sourceFile, Album targetAlbum, Google.GData.Photos.PicasaFeed targetAlbumPhotoFeed, Google.GData.Photos.PicasaService session ) : void

Syncs a local file to an online Picasa Web Album location

CreateAlbum ( Google.GData.Photos.PicasaService session, Google.GData.Photos.PicasaFeed albumFeed, string targetAlbumName, AlbumAccessEnum albumAccess ) : Album
DeleteFilesFromAlbum ( FileInfo>.Dictionary sourceFiles, Google.GData.Photos.PicasaFeed existingAlbumPhotosFeed ) : void
DetermineAlbumAccess ( DirectoryInfo sourceFolder, AlbumAccessEnum parentFolderAccess ) : AlbumAccessEnum
GetSourceFiles ( DirectoryInfo sourceFolder ) : FileInfo>.Dictionary
GetTargetAlbumName ( DirectoryInfo sourceFolder, string albumNamePrefix ) : string
ResetCounters ( ) : void
ShouldExcludeFolder ( DirectoryInfo sourceFolder, FileInfo>.Dictionary sourceFiles ) : bool
SyncFolder ( DirectoryInfo sourceFolder, string albumNamePrefix, AlbumAccessEnum targetAlbumAccess, bool includeSubFolders, Google.GData.Photos.PicasaService session, Google.GData.Photos.PicasaFeed albumFeed ) : void

Syncs a local folder to an online Picasa Web Album location

UpdateAlbumAccess ( Google.GData.Photos.PicasaService session, Album albumToUpdate, AlbumAccessEnum albumAccess ) : void
WriteOutput ( string message ) : void
WriteOutput ( string message, bool verboseOnly ) : void

메소드 상세

GetFileInfo() 공개 정적인 메소드

Returns info about a media file based upon the file extension.
public static GetFileInfo ( FileInfo file, bool &isImage, bool &isVideo, ImageFormat &imageFormat, string &contentType ) : void
file System.IO.FileInfo The media file.
isImage bool Indicates of file is an image.
isVideo bool
imageFormat System.Drawing.Imaging.ImageFormat GDI Image format (Out)
contentType string
리턴 void

PicasaAlbumSynchronizer() 공개 메소드

public PicasaAlbumSynchronizer ( ) : System
리턴 System

SyncFolder() 공개 메소드

Syncs a local folder to an online Picasa Web Album location
public SyncFolder ( string folderPath ) : void
folderPath string The source folder to sync.
리턴 void