Opens the contents as a text reader.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
protected virtual TextReader OpenTextReader( ICodeElementInfo codeElementInfo ) |
| Visual Basic (Declaration) |
|---|
Protected Overridable Function OpenTextReader ( _ codeElementInfo As ICodeElementInfo _ ) As TextReader |
Parameters
- codeElementInfo
- Type: Gallio.Common.Reflection..::.ICodeElementInfo
The code element to which the attribute was applied.
Return Value
The text reader.
Remarks
If you override this method to return data from a different stream, consider also overriding ValidateSource(IPatternScope, ICodeElementInfo) in case the manner in which the data source location is specified has also changed.
