Method | Description | |
---|---|---|
AddStream ( IDisposable stream ) : void |
Adds the specified stream to the streams that have been opened for this file.
|
|
MockFile ( string contents, |
Initializes a new instance of the MockFile class.
|
public AddStream ( IDisposable stream ) : void | ||
stream | IDisposable | The stream. |
return | void |
public MockFile ( string contents, |
||
contents | string | The contents of the file. |
encoding | The file encoding. | |
return | System |