C# Класс Spring.Objects.Factory.Xml.ReadOnlyXmlTestResource

Centralised resource getter for loading all of those XML object definition files used in the XML based object factory tests.
Наследование: IResource
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateRelative ( string relativePath ) : IResource
GetFilePath ( string fileName, Type associatedTestType ) : string
ReadOnlyXmlTestResource ( string fileName ) : System

Creates a new instance of the Spring.Objects.Factory.Xml.ReadOnlyXmlTestResource class.

ReadOnlyXmlTestResource ( string fileName, Type associatedTestType ) : System

Creates a new instance of the Spring.Objects.Factory.Xml.ReadOnlyXmlTestResource class.

ToString ( ) : string

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

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

public CreateRelative ( string relativePath ) : IResource
relativePath string
Результат IResource

GetFilePath() публичный статический Метод

public static GetFilePath ( string fileName, Type associatedTestType ) : string
fileName string
associatedTestType System.Type
Результат string

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

Creates a new instance of the Spring.Objects.Factory.Xml.ReadOnlyXmlTestResource class.
public ReadOnlyXmlTestResource ( string fileName ) : System
fileName string /// The filename/resourcename (e.g. foo.txt) of the XML file containing the object /// definitions. ///
Результат System

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

Creates a new instance of the Spring.Objects.Factory.Xml.ReadOnlyXmlTestResource class.
public ReadOnlyXmlTestResource ( string fileName, Type associatedTestType ) : System
fileName string /// The filename/resourcename (e.g. foo.txt) of the XML file containing the object /// definitions. ///
associatedTestType System.Type /// The of the test class utilising said file. ///
Результат System

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

public ToString ( ) : string
Результат string