C# Class Concordion.Api.Resource

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

Private Properties

Property Type Description

Public Methods

Method 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 method

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 .
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int

GetRelativePath() public method

Gets the relative path.
public GetRelativePath ( Resource resource ) : string
resource Resource The resource.
return string

GetRelativeResource() public method

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

Resource() public method

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

Resource() public method

public Resource ( string path, string fixtureAssemblyName ) : System
path string
fixtureAssemblyName string
return System