Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

InputStreamResource Class

IResource adapter implementation for a Stream.

For a list of all members of this type, see InputStreamResource Members .


[Visual Basic]
Public Class InputStreamResource
    Inherits AbstractResource
public class InputStreamResource : AbstractResource

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Should only be used if no other IResource implementation is applicable.

In contrast to other IResource implementations, this is an adapter for an already opened resource - the IsOpen therefore always returns true. Do not use this class if you need to keep the resource descriptor somewhere, or if you need to read a stream multiple times.


Namespace: Spring.Core.IO

Assembly: Spring.Core (in Spring.Core.dll)

See Also

InputStreamResource Members | Spring.Core.IO Namespace