Logo Search packages:      
Sourcecode: f-spot version File versions

UploadProgressEvent.cs

using System;

namespace FlickrNet
{
      /// <summary>
      /// Event arguments for a <see cref="Flickr.OnUploadProgress"/> event.
      /// </summary>
00008       public class UploadProgressEventArgs : EventArgs
      {
            private bool _uploadComplete;

            private int _bytes;

            /// <summary>
            /// Number of bytes transfered so far.
            /// </summary>
            public int Bytes
00018             {
                  get { return _bytes; }
            }

            /// <summary>
            /// True if all bytes have been uploaded.
            /// </summary>
            public bool UploadComplete
00026             {
                  get { return _uploadComplete; }
            }

            internal UploadProgressEventArgs(int bytes, bool complete)
            {
                  _bytes = bytes;
                  _uploadComplete = complete;
            }
      }
}

Generated by  Doxygen 1.6.0   Back to index