コード例 #1
0
        protected override void ProcessRecord()
        {
            FlickrOperations autentication    = FlickrOperationsFactory.GetFlickrOperations(WriteVerbose);
            CommonOperations commonOperations = new CommonOperations(WriteVerbose);

            commonOperations.SetAlbumPermissions(this.Name, Public, Family, Friends);
        }
コード例 #2
0
        protected override void ProcessRecord()
        {
            FlickrOperations autentication = FlickrOperationsFactory.GetFlickrOperations(WriteVerbose);
            var albums = autentication.GetAlbumsName();

            WriteObject(albums);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
        protected override void ProcessRecord()
        {
            FlickrOperations autentication    = FlickrOperationsFactory.GetFlickrOperations(WriteVerbose);
            CommonOperations commonOperations = new CommonOperations(WriteVerbose);
            var albums = commonOperations.CreateAlbum(this.Name);

            WriteObject(albums);
        }
コード例 #5
0
 public FlickrSingleCmdletBase()
 {
     FlickrOperation = FlickrOperationsFactory.GetFlickrOperations(WriteVerbose);
 }