Extensions for Package
More...
Extensions for Package
Definition at line 15 of file PackageExtensions.cs.
static bool SiliconStudio.Assets.PackageExtensions.ContainsAsset |
( |
this IEnumerable< Package > |
packages, |
|
|
Guid |
assetGuid |
|
) |
| |
|
static |
Determines whether the specified packages contains an asset by its guid.
- Parameters
-
packages | The packages. |
assetGuid | The asset unique identifier. |
- Returns
true
if the specified packages contains asset; otherwise, false
.
Definition at line 47 of file PackageExtensions.cs.
static bool SiliconStudio.Assets.PackageExtensions.ContainsAsset |
( |
this IEnumerable< Package > |
packages, |
|
|
UFile |
location |
|
) |
| |
|
static |
static PackageCollection SiliconStudio.Assets.PackageExtensions.FindDependencies |
( |
this Package |
rootPackage, |
|
|
bool |
includeRootPackage = false , |
|
|
bool |
isRecursive = true |
|
) |
| |
|
static |
Finds the package dependencies for the specified Package. See remarks.
- Parameters
-
rootPackage | The root package. |
includeRootPackage | if set to true [include root package]. |
isRecursive | if set to true [is recursive]. |
- Returns
- List<Package>.
- Exceptions
-
System.ArgumentNullException | rootPackage |
System.ArgumentException | Root package must be part of a session;rootPackage |
Definition at line 26 of file PackageExtensions.cs.
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/PackageExtensions.cs