Class LastSyncedFileManager
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Sync
Assembly: Umbraco.Infrastructure.dll
Syntax
public sealed class LastSyncedFileManager
Constructors
View SourceLastSyncedFileManager(IHostingEnvironment)
Declaration
public LastSyncedFileManager(IHostingEnvironment hostingEnvironment)
Parameters
Type | Name | Description |
---|---|---|
IHostingEnvironment | hostingEnvironment |
Properties
View SourceDistCacheFilePath
Gets the dist cache file path (once).
Declaration
public string DistCacheFilePath { get; }
Property Value
Type | Description |
---|---|
System.String |
LastSyncedId
Returns the last-synced id.
Declaration
public int LastSyncedId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
View SourceSaveLastSyncedId(Int32)
Persists the last-synced id to file.
Declaration
public void SaveLastSyncedId(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The id. |