FlushAsync_AbstractStream() static private method

static private FlushAsync_AbstractStream ( Stream stream ) : IAsyncOperation
stream Stream
return IAsyncOperation
示例#1
0
        public IAsyncOperation <Boolean> FlushAsync()
        {
            Contract.Ensures(Contract.Result <IAsyncOperation <Boolean> >() != null);
            Contract.EndContractBlock();

            Stream str = EnsureNotDisposed();

            return(StreamOperationsImplementation.FlushAsync_AbstractStream(str));
        }
示例#2
0
        public IAsyncOperation <bool> FlushAsync()
        {
            Stream str = EnsureNotDisposed();

            return(StreamOperationsImplementation.FlushAsync_AbstractStream(str));
        }