Class ObjectDatabaseContentIndexMap
Content Index Map implementation which regroups all the asset index maps of every loaded file backend and asset bundle backends.
public class ObjectDatabaseContentIndexMap : IContentIndexMap, IDisposable
- Inheritance
-
ObjectDatabaseContentIndexMap
- Implements
- Extension Methods
Properties
this[string]
public ObjectId this[string url] { get; set; }
Parameters
url
string
Property Value
WriteableContentIndexMap
public IContentIndexMap WriteableContentIndexMap { get; set; }
Property Value
Methods
Contains(string)
public bool Contains(string url)
Parameters
url
string
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
GetMergedIdMap()
public IEnumerable<KeyValuePair<string, ObjectId>> GetMergedIdMap()
Returns
Merge(IContentIndexMap)
Merges the values from the given asset index map.
public void Merge(IContentIndexMap contentIndexMap)
Parameters
contentIndexMap
IContentIndexMapThe asset index map to merge.
Merge(IEnumerable<KeyValuePair<string, ObjectId>>)
Merges the values from the given assets.
public void Merge(IEnumerable<KeyValuePair<string, ObjectId>> assets)
Parameters
assets
IEnumerable<KeyValuePair<string, ObjectId>>The assets to merge.
SearchValues(Func<KeyValuePair<string, ObjectId>, bool>)
public IEnumerable<KeyValuePair<string, ObjectId>> SearchValues(Func<KeyValuePair<string, ObjectId>, bool> predicate)
Parameters
predicate
Func<KeyValuePair<string, ObjectId>, bool>
Returns
TryGetValue(string, out ObjectId)
public bool TryGetValue(string url, out ObjectId objectId)
Parameters
Returns
Unmerge(IEnumerable<KeyValuePair<string, ObjectId>>)
Unmerges the values from the given assets.
public void Unmerge(IEnumerable<KeyValuePair<string, ObjectId>> assets)
Parameters
assets
IEnumerable<KeyValuePair<string, ObjectId>>The assets to merge.