示例#1
0
 public EntityUpdate(
     IEntityStoreSnapshot snapshot,
     ISet <EntityId> updatedEntityIds)
 {
     Snapshot = snapshot ??
                throw new ArgumentNullException(nameof(snapshot));
     UpdatedEntityIds = updatedEntityIds ??
                        throw new ArgumentNullException(nameof(updatedEntityIds));
     Version = snapshot.Version;
 }
示例#2
0
 private (GetHeroResult, GetHeroResultInfo) BuildData(JsonElement obj)
 {
     var entityIds = new HashSet <EntityId>();
     IEntityStoreSnapshot snapshot = default !;