C# Class Concordion.Api.Resource

Represents a physical file on the filesystem
Afficher le fichier Open project: concordion/concordion-net Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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

Method Details

Equals() public méthode

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 .
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int

GetRelativePath() public méthode

Gets the relative path.
public GetRelativePath ( Resource resource ) : string
resource Resource The resource.
Résultat string

GetRelativeResource() public méthode

Gets a resource relative to this one based on the path
public GetRelativeResource ( string relativePath ) : Resource
relativePath string The relative path.
Résultat Resource

Resource() public méthode

Initializes a new instance of the Resource class.
public Resource ( string path ) : System
path string The path.
Résultat System

Resource() public méthode

public Resource ( string path, string fixtureAssemblyName ) : System
path string
fixtureAssemblyName string
Résultat System