示例#1
0
        public AsyncHttpImage(Func <string> loading)
        {
            this.loading = loading;

            _asyncSource = AsyncImageQueue._HourGlass;

            AsyncImageQueue.Enqueue(this);
        }
示例#2
0
        public AsyncAvatar(string filename, Action loaded, Action cleanup)
        {
            this.filename = filename;
            this.loaded   = loaded;
            this.cleanup  = cleanup;

            _asyncSource = AsyncImageQueue._Profile;

            AsyncImageQueue.Enqueue(this);
        }
示例#3
0
        public AsyncHttpImage(string url, Action loaded, Action cleanup)
        {
            this.url     = url;
            this.loaded  = loaded;
            this.cleanup = cleanup;

            _asyncSource = AsyncImageQueue._HourGlass;

            AsyncImageQueue.Enqueue(this);
        }
示例#4
0
        public AsyncThumbnailImage(string filename, Action loaded, Action cleanup)
        {
            this.filename = filename;
            this.loaded   = loaded;
            this.cleanup  = cleanup;

            _asyncSource = AsyncImageQueue._HourGlass;

            AsyncImageQueue.Enqueue(this);
        }