C# Класс Microsoft.Practices.Phone.Testing.MockIsolatedStorageFileStream

Наследование: Stream, IIsolatedStorageFileStream
Показать файл Открыть проект

Открытые методы

Метод Описание
BeginRead ( byte buffer, int offset, int numBytes, AsyncCallback userCallback, object stateObject ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int numBytes, AsyncCallback userCallback, object stateObject ) : IAsyncResult
Dispose ( ) : void
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
Flush ( bool flushToDisk ) : void
MockIsolatedStorageFileStream ( bool canRead, bool canWrite, bool canSeek, long length ) : System
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Описание методов

BeginRead() публичный Метод

public BeginRead ( byte buffer, int offset, int numBytes, AsyncCallback userCallback, object stateObject ) : IAsyncResult
buffer byte
offset int
numBytes int
userCallback AsyncCallback
stateObject object
Результат IAsyncResult

BeginWrite() публичный Метод

public BeginWrite ( byte buffer, int offset, int numBytes, AsyncCallback userCallback, object stateObject ) : IAsyncResult
buffer byte
offset int
numBytes int
userCallback AsyncCallback
stateObject object
Результат IAsyncResult

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EndRead() публичный Метод

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Результат int

EndWrite() публичный Метод

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Результат void

Flush() публичный Метод

public Flush ( ) : void
Результат void

Flush() публичный Метод

public Flush ( bool flushToDisk ) : void
flushToDisk bool
Результат void

MockIsolatedStorageFileStream() публичный Метод

public MockIsolatedStorageFileStream ( bool canRead, bool canWrite, bool canSeek, long length ) : System
canRead bool
canWrite bool
canSeek bool
length long
Результат System

Read() публичный Метод

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Результат int

ReadByte() публичный Метод

public ReadByte ( ) : int
Результат int

Seek() публичный Метод

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Результат long

SetLength() публичный Метод

public SetLength ( long value ) : void
value long
Результат void

Write() публичный Метод

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Результат void

WriteByte() публичный Метод

public WriteByte ( byte value ) : void
value byte
Результат void