protected override void ProcessRecord() { FlickrOperations autentication = FlickrOperationsFactory.GetFlickrOperations(WriteVerbose); CommonOperations commonOperations = new CommonOperations(WriteVerbose); commonOperations.SetAlbumPermissions(this.Name, Public, Family, Friends); }
protected override void ProcessRecord() { FlickrOperations autentication = FlickrOperationsFactory.GetFlickrOperations(WriteVerbose); var albums = autentication.GetAlbumsName(); WriteObject(albums); }
protected override void Invoke() { var absolutepath = this.Cmdlet.GetPath(this.Cmdlet.Path); FlickrOperations autentication = FlickrOperationsFactory.GetFlickrOperations(this.Cmdlet.WriteVerbose); var photoId = autentication.AddPhotoToAlbumName(absolutepath, this.Cmdlet.Album); WriteOutput(photoId); }
protected override void ProcessRecord() { FlickrOperations autentication = FlickrOperationsFactory.GetFlickrOperations(WriteVerbose); CommonOperations commonOperations = new CommonOperations(WriteVerbose); var albums = commonOperations.CreateAlbum(this.Name); WriteObject(albums); }
public FlickrSingleCmdletBase() { FlickrOperation = FlickrOperationsFactory.GetFlickrOperations(WriteVerbose); }