Browse Source

Use protected instead of public

pull/206/head
gdlcf88 4 years ago
parent
commit
26221596e1
  1. 4
      plugins/Inventories/DaprActors/src/EasyAbp.EShop.Plugins.Inventories.DaprActors/EasyAbp/EShop/Plugins/Inventories/DaprActors/InventoryActor.cs

4
plugins/Inventories/DaprActors/src/EasyAbp.EShop.Plugins.Inventories.DaprActors/EasyAbp/EShop/Plugins/Inventories/DaprActors/InventoryActor.cs

@ -69,10 +69,10 @@ public class InventoryActor : Actor, IInventoryActor
}
}
public virtual Task<InventoryStateModel> InternalGetInventoryStateAsync() =>
protected virtual Task<InventoryStateModel> InternalGetInventoryStateAsync() =>
StateManager.GetStateAsync<InventoryStateModel>(InventoryStateName);
public async Task<bool> TrySetInventoryStateAsync(InventoryStateModel stateModel)
protected virtual async Task<bool> TrySetInventoryStateAsync(InventoryStateModel stateModel)
{
if (!TimeToPersistInventory.HasValue || TimeToPersistInventory.Value < Clock.Now)
{

Loading…
Cancel
Save