![]() |
Paradox Game Engine
v1.0.0 beta06
|
A collection of Package. More...
Public Member Functions | |
| PackageCollection () | |
| Initializes a new instance of the PackageCollection class. More... | |
| IEnumerator< Package > | GetEnumerator () |
| Package | Find (Guid packageGuid) |
| Finds the specified package by its unique identifier. More... | |
| Package | Find (PackageDependency packageDependency) |
| Finds the a package already in this collection from the specified dependency. More... | |
| Package | Find (string name, PackageVersionRange versionRange) |
| Finds a package with the specified name and PackageVersionRange. More... | |
| void | Add (Package item) |
| void | Clear () |
| bool | ContainsById (Guid packageGuid) |
| Determines whether this collection contains a package with the specified package unique identifier. More... | |
| bool | Contains (Package item) |
| void | CopyTo (Package[] array, int arrayIndex) |
| bool | RemoveById (Guid packageGuid) |
| bool | Remove (Package item) |
Properties | |
| int | Count [get] |
| bool | IsReadOnly [get] |
Events | |
| NotifyCollectionChangedEventHandler | CollectionChanged |
| Occurs when the collection changes. More... | |
A collection of Package.
Definition at line 21 of file PackageCollection.cs.
| SiliconStudio.Assets.PackageCollection.PackageCollection | ( | ) |
Initializes a new instance of the PackageCollection class.
Definition at line 33 of file PackageCollection.cs.
| void SiliconStudio.Assets.PackageCollection.Add | ( | Package | item | ) |
Definition at line 99 of file PackageCollection.cs.
References SiliconStudio.Assets.Asset.Id.
| void SiliconStudio.Assets.PackageCollection.Clear | ( | ) |
Definition at line 109 of file PackageCollection.cs.
| bool SiliconStudio.Assets.PackageCollection.Contains | ( | Package | item | ) |
Definition at line 126 of file PackageCollection.cs.
References SiliconStudio.Assets.Asset.Id.
| bool SiliconStudio.Assets.PackageCollection.ContainsById | ( | Guid | packageGuid | ) |
Determines whether this collection contains a package with the specified package unique identifier.
| packageGuid | The package unique identifier. |
true if this collection contains a package with the specified package unique identifier; otherwise, false.Definition at line 121 of file PackageCollection.cs.
Referenced by SiliconStudio.Assets.PackageSession.Save().
| void SiliconStudio.Assets.PackageCollection.CopyTo | ( | Package[] | array, |
| int | arrayIndex | ||
| ) |
Definition at line 132 of file PackageCollection.cs.
| Package SiliconStudio.Assets.PackageCollection.Find | ( | Guid | packageGuid | ) |
Finds the specified package by its unique identifier.
| packageGuid | The package unique identifier. |
Definition at line 69 of file PackageCollection.cs.
| Package SiliconStudio.Assets.PackageCollection.Find | ( | PackageDependency | packageDependency | ) |
Finds the a package already in this collection from the specified dependency.
| packageDependency | The package dependency. |
Definition at line 79 of file PackageCollection.cs.
References SiliconStudio.Assets.PackageDependency.Name, and SiliconStudio.Assets.PackageDependency.Version.
| Package SiliconStudio.Assets.PackageCollection.Find | ( | string | name, |
| PackageVersionRange | versionRange | ||
| ) |
Finds a package with the specified name and PackageVersionRange.
| name | The name. |
| versionRange | The version range. |
Definition at line 91 of file PackageCollection.cs.
| IEnumerator<Package> SiliconStudio.Assets.PackageCollection.GetEnumerator | ( | ) |
Definition at line 54 of file PackageCollection.cs.
| bool SiliconStudio.Assets.PackageCollection.Remove | ( | Package | item | ) |
Definition at line 150 of file PackageCollection.cs.
References SiliconStudio.Assets.Asset.Id.
| bool SiliconStudio.Assets.PackageCollection.RemoveById | ( | Guid | packageGuid | ) |
Definition at line 137 of file PackageCollection.cs.
|
get |
Definition at line 39 of file PackageCollection.cs.
|
get |
Definition at line 47 of file PackageCollection.cs.
| NotifyCollectionChangedEventHandler SiliconStudio.Assets.PackageCollection.CollectionChanged |
Occurs when the collection changes.
Definition at line 28 of file PackageCollection.cs.