Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

InputStreamResource Constructor

Creates a new instance of the InputStreamResource class.

[Visual Basic]
Public Sub New( _
   ByVal inputStream As Stream, _
   ByVal description As String _
)
[C#]
InputStreamResource(
   Stream inputStream,
   string description
);

Parameters

inputStream
The input Stream to use.
description
Where the input Stream comes from.

Exceptions

Exception Type Condition
ArgumentNullException If the supplied inputStream is a null reference (Nothing in Visual Basic).

See Also

InputStreamResource Class | Spring.Core.IO Namespace