ContentIndexMap Class
Namespace: Stride.Core.Serialization.Contents
Assembly: Stride.Core.Serialization.dll
Derived from ContentIndexMap:
public sealed class ContentIndexMap : DictionaryStore<string, ObjectId>, IContentIndexMap, IDisposable
|
Improve this Doc
View Source
Methods
CreateInMemory()
public static ContentIndexMap CreateInMemory()
Returns
GetMergedIdMap()
public IEnumerable<KeyValuePair<string, ObjectId>> GetMergedIdMap()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, ObjectId>> |
|
GetTransactionIdMap()
public IEnumerable<KeyValuePair<string, ObjectId>> GetTransactionIdMap()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, ObjectId>> |
|
Load(String, Boolean)
public static ContentIndexMap Load(string indexFile, bool isReadOnly = false)
Parameters
Type |
Name |
Description |
System.String |
indexFile |
|
System.Boolean |
isReadOnly |
|
Returns
NewTool(String)
public static ContentIndexMap NewTool(string indexName)
Parameters
Type |
Name |
Description |
System.String |
indexName |
|
Returns
ReadEntries(Stream)
protected override List<KeyValuePair<string, ObjectId>> ReadEntries(Stream localStream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
localStream |
|
Returns
Type |
Description |
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<System.String, ObjectId>> |
|
Overrides
Stride.Core.IO.Store<System.Collections.Generic.KeyValuePair<System.String, Stride.Core.Storage.ObjectId>>.ReadEntries(System.IO.Stream)
WriteEntry(Stream, KeyValuePair<String, ObjectId>)
protected override void WriteEntry(Stream stream, KeyValuePair<string, ObjectId> value)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Collections.Generic.KeyValuePair<System.String, ObjectId> |
value |
|
Overrides
Stride.Core.IO.Store<System.Collections.Generic.KeyValuePair<System.String, Stride.Core.Storage.ObjectId>>.WriteEntry(System.IO.Stream, System.Collections.Generic.KeyValuePair<System.String, Stride.Core.Storage.ObjectId>)
Extension Methods