C# Class ParkitectNexus.Data.Assets.Asset

Inheritance: IAsset
Mostra file Open project: ParkitectNexus/ParkitectNexusClient Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified object is equal to the current object.

GetHashCode ( ) : int

Serves as the default hash function.

GetImage ( ) : Image
Open ( ) : Stream
ToString ( ) : string

Returns a string that represents the current object.

Protected Methods

Method Description
Asset ( string path, IAssetMetadata metadata, IAssetCachedData cachedData, AssetType type ) : System
Equals ( Asset other ) : bool

Method Details

Asset() protected method

protected Asset ( string path, IAssetMetadata metadata, IAssetCachedData cachedData, AssetType type ) : System
path string
metadata IAssetMetadata
cachedData IAssetCachedData
type AssetType
return System

Equals() protected method

protected Equals ( Asset other ) : bool
other Asset
return bool

Equals() public method

Determines whether the specified object is equal to the current object.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
return bool

GetHashCode() public method

Serves as the default hash function.
public GetHashCode ( ) : int
return int

GetImage() public abstract method

public abstract GetImage ( ) : Image
return Image

Open() public method

public Open ( ) : Stream
return Stream

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string