Class FileSystemModelStore
public class FileSystemModelStore : IModelStore
- Inheritance
-
FileSystemModelStore
- Implements
- Inherited Members
- Extension Methods
Constructors
FileSystemModelStore(Runtime)
public FileSystemModelStore(Runtime runtime)
Parameters
runtime
Runtime
Properties
Root
public string Root { get; set; }
Property Value
Methods
CreateAsync(Model)
public Task<int> CreateAsync(Model model)
Parameters
model
Model
Returns
GetAllAsync()
public Task<List<ModelDescriptor>> GetAllAsync()
Returns
GetAsync(int)
public Task<Model> GetAsync(int id)
Parameters
id
int
Returns
TryWriteAsync(Model)
Attempt to write model to persistent storage
public Task<Model?> TryWriteAsync(Model model)
Parameters
model
ModelThe model to write