An asset reference.
More...
|
Guid | Id [get] |
| Gets or sets the unique identifier of the reference asset. More...
|
|
string | Location [get] |
| Gets or sets the location of the asset. More...
|
|
abstract Type | Type [get] |
|
Type | Type [get] |
| Gets the type of this content reference. More...
|
|
Guid | Id [get] |
| Gets the asset unique identifier. More...
|
|
string | Location [get] |
| Gets the location. More...
|
|
An asset reference.
Definition at line 15 of file AssetReference.cs.
bool SiliconStudio.Assets.AssetReference.Equals |
( |
AssetReference |
other | ) |
|
override bool SiliconStudio.Assets.AssetReference.Equals |
( |
object |
obj | ) |
|
override int SiliconStudio.Assets.AssetReference.GetHashCode |
( |
| ) |
|
Tries to parse an asset reference in the format "GUID:Location".
- Parameters
-
referenceType | The referenceType. |
id | The identifier. |
location | The location. |
- Returns
true
if parsing was successful, false
otherwise.
Definition at line 118 of file AssetReference.cs.
Implements the !=.
- Parameters
-
left | The left. |
right | The right. |
- Returns
- The result of the operator.
Definition at line 96 of file AssetReference.cs.
Implements the ==.
- Parameters
-
left | The left. |
right | The right. |
- Returns
- The result of the operator.
Definition at line 85 of file AssetReference.cs.
override string SiliconStudio.Assets.AssetReference.ToString |
( |
| ) |
|
static bool SiliconStudio.Assets.AssetReference.TryParse |
( |
string |
assetReferenceText, |
|
|
out Guid |
guid, |
|
|
out UFile |
location |
|
) |
| |
|
static |
Tries to parse an asset reference in the format "GUID:Location".
- Parameters
-
assetReferenceText | The asset reference. |
guid | The unique identifier. |
location | The location. |
- Returns
true
if parsing was successful, false
otherwise.
- Exceptions
-
System.ArgumentNullException | assetReferenceText |
Definition at line 134 of file AssetReference.cs.
Referenced by SiliconStudio.Assets.PackageReference.TryParse().
static bool SiliconStudio.Assets.AssetReference.TryParse |
( |
Type |
referenceType, |
|
|
string |
assetReferenceText, |
|
|
out AssetReference |
assetReference |
|
) |
| |
|
static |
Tries to parse an asset reference in the format "GUID:Location".
- Parameters
-
referenceType | |
assetReferenceText | The asset reference. |
assetReference | The reference. |
- Returns
true
if parsing was successful, false
otherwise.
Definition at line 161 of file AssetReference.cs.
Guid SiliconStudio.Assets.AssetReference.Id |
|
get |
Gets or sets the unique identifier of the reference asset.
The unique identifier of the reference asset..
Definition at line 37 of file AssetReference.cs.
string SiliconStudio.Assets.AssetReference.Location |
|
get |
Gets or sets the location of the asset.
The location.
Definition at line 50 of file AssetReference.cs.
abstract Type SiliconStudio.Assets.AssetReference.Type |
|
get |
The documentation for this class was generated from the following file:
- D:/Projects/Bitbucket Hosting/DoxygenFilesAndSources/Paradox v1.0.0 beta06/sources/assets/SiliconStudio.Assets/AssetReference.cs