C# Class Microsoft.Practices.Phone.Testing.MockIsolatedStorageFileStream

Inheritance: Stream, IIsolatedStorageFileStream
Afficher le fichier Open project: follesoe/TestableGeoTrackerDemo

Méthodes publiques

Méthode Description
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

Method Details

BeginRead() public méthode

public BeginRead ( byte buffer, int offset, int numBytes, AsyncCallback userCallback, object stateObject ) : IAsyncResult
buffer byte
offset int
numBytes int
userCallback AsyncCallback
stateObject object
Résultat IAsyncResult

BeginWrite() public méthode

public BeginWrite ( byte buffer, int offset, int numBytes, AsyncCallback userCallback, object stateObject ) : IAsyncResult
buffer byte
offset int
numBytes int
userCallback AsyncCallback
stateObject object
Résultat IAsyncResult

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EndRead() public méthode

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

EndWrite() public méthode

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Flush() public méthode

public Flush ( bool flushToDisk ) : void
flushToDisk bool
Résultat void

MockIsolatedStorageFileStream() public méthode

public MockIsolatedStorageFileStream ( bool canRead, bool canWrite, bool canSeek, long length ) : System
canRead bool
canWrite bool
canSeek bool
length long
Résultat System

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void