C# Класс Castle.Facilities.NHibernateIntegration.Internal.FileAssemblyResource

Resource for a file or an assembly resource
Наследование: IResource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CreateRelative() публичный Метод

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
Результат IResource

Dispose() публичный Метод

Disposes the allocated resources
public Dispose ( ) : void
Результат void

FileAssemblyResource() публичный Метод

Depending on the resource type, AssemblyResource or FileResource is decorated.
public FileAssemblyResource ( string resource ) : System.IO
resource string
Результат System.IO

GetStreamReader() публичный Метод

Returns a reader for the stream
public GetStreamReader ( ) : TextReader
Результат TextReader

GetStreamReader() публичный Метод

Returns a reader for the stream
public GetStreamReader ( Encoding encoding ) : TextReader
encoding System.Text.Encoding
Результат TextReader