C# Class Castle.Facilities.NHibernateIntegration.Internal.FileAssemblyResource

Resource for a file or an assembly resource
Inheritance: IResource
Afficher le fichier Open project: hconceicao/Castle.Facilities.NHibernateIntegration3 Class Usage Examples

Méthodes publiques

Méthode Description
CreateRelative ( string relativePath ) : IResource

Returns an instance of Castle.Core.Resource.IResource created according to the relativePath using itself as the root.

Dispose ( ) : void

Disposes the allocated resources

FileAssemblyResource ( string resource ) : System.IO

Depending on the resource type, AssemblyResource or FileResource is decorated.

GetStreamReader ( ) : TextReader

Returns a reader for the stream

GetStreamReader ( Encoding encoding ) : TextReader

Returns a reader for the stream

Method Details

CreateRelative() public méthode

Returns an instance of Castle.Core.Resource.IResource created according to the relativePath using itself as the root.
public CreateRelative ( string relativePath ) : IResource
relativePath string
Résultat IResource

Dispose() public méthode

Disposes the allocated resources
public Dispose ( ) : void
Résultat void

FileAssemblyResource() public méthode

Depending on the resource type, AssemblyResource or FileResource is decorated.
public FileAssemblyResource ( string resource ) : System.IO
resource string
Résultat System.IO

GetStreamReader() public méthode

Returns a reader for the stream
public GetStreamReader ( ) : TextReader
Résultat TextReader

GetStreamReader() public méthode

Returns a reader for the stream
public GetStreamReader ( Encoding encoding ) : TextReader
encoding System.Text.Encoding
Résultat TextReader