Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EncodedResource Constructor

Create an encoded resource, autodetecting the encoding from the resource stream.

[Visual Basic]
Public Overloads Sub New( _
   ByVal resource As IResource, _
   ByVal autoDetectEncoding As Boolean _
)
[C#]
EncodedResource(
   IResource resource,
   bool autoDetectEncoding
);

Parameters

resource
the resource to read from. Must not be null
autoDetectEncoding
whether to autoDetect encoding from byte-order marks (StreamReader)

See Also

EncodedResource Class | Spring.Core.IO Namespace | EncodedResource Constructor Overload List