C# Class PRI.ProductivityExtensions.IsolatedStorageFileStreamExtensions.IsolatedStorageFileStreamable

Class that contains extension methods that extend IsolatedStorageFileStream
显示文件 Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
BeginRead ( this isolatedstoragefilestream, Byte buffer, AsyncCallback userCallback ) : IAsyncResult

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. isolatedstoragefilestream.BeginRead(buffer, userCallback);

BeginRead ( this isolatedstoragefilestream, Byte buffer, Int32 offset, Int32 numBytes, AsyncCallback userCallback ) : IAsyncResult

Extends BeginRead so that when a state object is not needed, null does not need to be passed. isolatedstoragefilestream.BeginRead(buffer, offset, numBytes, userCallback);

BeginWrite ( this isolatedstoragefilestream, Byte buffer, AsyncCallback userCallback ) : IAsyncResult

Extends BeginWrite so that buffer offset of 0 and call to Array.Length are not needed. isolatedstoragefilestream.BeginWrite(buffer, userCallback);

BeginWrite ( this isolatedstoragefilestream, Byte buffer, Int32 offset, Int32 numBytes, AsyncCallback userCallback ) : IAsyncResult

Extends BeginWrite so that when a state object is not needed, null does not need to be passed. isolatedstoragefilestream.BeginWrite(buffer, offset, numBytes, userCallback);

Method Details

BeginRead() public static method

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. isolatedstoragefilestream.BeginRead(buffer, userCallback);
public static BeginRead ( this isolatedstoragefilestream, Byte buffer, AsyncCallback userCallback ) : IAsyncResult
isolatedstoragefilestream this
buffer Byte
userCallback AsyncCallback
return IAsyncResult

BeginRead() public static method

Extends BeginRead so that when a state object is not needed, null does not need to be passed. isolatedstoragefilestream.BeginRead(buffer, offset, numBytes, userCallback);
public static BeginRead ( this isolatedstoragefilestream, Byte buffer, Int32 offset, Int32 numBytes, AsyncCallback userCallback ) : IAsyncResult
isolatedstoragefilestream this
buffer Byte
offset System.Int32
numBytes System.Int32
userCallback AsyncCallback
return IAsyncResult

BeginWrite() public static method

Extends BeginWrite so that buffer offset of 0 and call to Array.Length are not needed. isolatedstoragefilestream.BeginWrite(buffer, userCallback);
public static BeginWrite ( this isolatedstoragefilestream, Byte buffer, AsyncCallback userCallback ) : IAsyncResult
isolatedstoragefilestream this
buffer Byte
userCallback AsyncCallback
return IAsyncResult

BeginWrite() public static method

Extends BeginWrite so that when a state object is not needed, null does not need to be passed. isolatedstoragefilestream.BeginWrite(buffer, offset, numBytes, userCallback);
public static BeginWrite ( this isolatedstoragefilestream, Byte buffer, Int32 offset, Int32 numBytes, AsyncCallback userCallback ) : IAsyncResult
isolatedstoragefilestream this
buffer Byte
offset System.Int32
numBytes System.Int32
userCallback AsyncCallback
return IAsyncResult