Table of Contents

Interface IModelProvider<A, T>

Namespace
Cognite.Simulator.Utils
Assembly
Cognite.Simulator.Utils.dll

Interface for libraries that can provide model information

public interface IModelProvider<A, T>

Type Parameters

A
T

Model state type

Methods

GetModelRevision(string)

Returns the state object of the given version of the given model

Task<T> GetModelRevision(string modelRevisionExternalId)

Parameters

modelRevisionExternalId string

Model revision external id

Returns

Task<T>

State object

WipeTemporaryModelFiles()

Delete all temporary model files stored in memory and on disk

void WipeTemporaryModelFiles()