Table of Contents

Class ContentIndexMap

Namespace
Stride.Core.Serialization.Contents
Assembly
Stride.Core.Serialization.dll
public sealed class ContentIndexMap : DictionaryStore<string, ObjectId>, IContentIndexMap, IDisposable
Inheritance
ContentIndexMap
Implements
Inherited Members
Extension Methods

Methods

CreateInMemory()

public static ContentIndexMap CreateInMemory()

Returns

ContentIndexMap

GetMergedIdMap()

public IEnumerable<KeyValuePair<string, ObjectId>> GetMergedIdMap()

Returns

IEnumerable<KeyValuePair<string, ObjectId>>

GetTransactionIdMap()

public IEnumerable<KeyValuePair<string, ObjectId>> GetTransactionIdMap()

Returns

IEnumerable<KeyValuePair<string, ObjectId>>

Load(string, bool)

public static ContentIndexMap Load(string indexFile, bool isReadOnly = false)

Parameters

indexFile string
isReadOnly bool

Returns

ContentIndexMap

NewTool(string)

public static ContentIndexMap NewTool(string indexName)

Parameters

indexName string

Returns

ContentIndexMap

ReadEntries(Stream)

protected override List<KeyValuePair<string, ObjectId>> ReadEntries(Stream localStream)

Parameters

localStream Stream

Returns

List<KeyValuePair<string, ObjectId>>

WriteEntry(Stream, KeyValuePair<string, ObjectId>)

protected override void WriteEntry(Stream stream, KeyValuePair<string, ObjectId> value)

Parameters

stream Stream
value KeyValuePair<string, ObjectId>