C# Класс Concordion.Api.Resource

Represents a physical file on the filesystem
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

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

Метод Описание
Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

GetRelativePath ( Resource resource ) : string

Gets the relative path.

GetRelativeResource ( string relativePath ) : Resource

Gets a resource relative to this one based on the path

Resource ( string path ) : System

Initializes a new instance of the Resource class.

Resource ( string path, string fixtureAssemblyName ) : System

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

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

Determines whether the specified T:System.Object is equal to the current T:System.Object.
/// The parameter is null. ///
public Equals ( object obj ) : bool
obj object The to compare with the current .
Результат bool

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

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int

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

Gets the relative path.
public GetRelativePath ( Resource resource ) : string
resource Resource The resource.
Результат string

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

Gets a resource relative to this one based on the path
public GetRelativeResource ( string relativePath ) : Resource
relativePath string The relative path.
Результат Resource

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

Initializes a new instance of the Resource class.
public Resource ( string path ) : System
path string The path.
Результат System

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

public Resource ( string path, string fixtureAssemblyName ) : System
path string
fixtureAssemblyName string
Результат System