Class StoreExtension
Namespace: Libplanet.Store
Assembly: Libplanet.dll
Syntax
public static class StoreExtension : object
Methods
| Improve this Doc View SourceCopy(IStore, IStore)
Makes a store, to
, logically (but not necessarily physically)
identical to another store, from
. As this copies the contents
of the store, instead of its physicall data, this can be used for migrating
between two different types of IStore implementations.
Declaration
public static void Copy(this IStore from, IStore to)
Parameters
Type | Name | Description |
---|---|---|
IStore | from | The store containing the source contents. |
IStore | to | The store to contain the copied contents. Expected to be empty. |