C# Class PRI.ProductivityExtensions.FileWebRequestExtensions.FileWebRequestable

Class that contains extension methods that extend FileWebRequest
Show file Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
BeginGetRequestStream ( this filewebrequest, AsyncCallback callback ) : IAsyncResult

Extends BeginGetRequestStream so that when a state object is not needed, null does not need to be passed. filewebrequest.BeginGetRequestStream(callback);

BeginGetResponse ( this filewebrequest, AsyncCallback callback ) : IAsyncResult

Extends BeginGetResponse so that when a state object is not needed, null does not need to be passed. filewebrequest.BeginGetResponse(callback);

Method Details

BeginGetRequestStream() public static method

Extends BeginGetRequestStream so that when a state object is not needed, null does not need to be passed. filewebrequest.BeginGetRequestStream(callback);
public static BeginGetRequestStream ( this filewebrequest, AsyncCallback callback ) : IAsyncResult
filewebrequest this
callback AsyncCallback
return IAsyncResult

BeginGetResponse() public static method

Extends BeginGetResponse so that when a state object is not needed, null does not need to be passed. filewebrequest.BeginGetResponse(callback);
public static BeginGetResponse ( this filewebrequest, AsyncCallback callback ) : IAsyncResult
filewebrequest this
callback AsyncCallback
return IAsyncResult