Method WithWorld
WithWorld(IEnumerable<RecordView>, string)
Get all records matching a world name.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static IEnumerable<EntitiesJournaling.RecordView> WithWorld(this IEnumerable<EntitiesJournaling.RecordView> records, string name)Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<EntitiesJournaling.RecordView> | records | |
| string | name | The world name. | 
Returns
| Type | Description | 
|---|---|
| IEnumerable<EntitiesJournaling.RecordView> | IEnumerable of EntitiesJournaling.RecordView. | 
Remarks
Throws InvalidOperationException if records are currently locked for write.
WithWorld(IEnumerable<RecordView>, ulong)
Get all records matching a world sequence number.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static IEnumerable<EntitiesJournaling.RecordView> WithWorld(this IEnumerable<EntitiesJournaling.RecordView> records, ulong sequenceNumber)Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<EntitiesJournaling.RecordView> | records | |
| ulong | sequenceNumber | 
Returns
| Type | Description | 
|---|---|
| IEnumerable<EntitiesJournaling.RecordView> | IEnumerable of EntitiesJournaling.RecordView. | 
Remarks
Throws InvalidOperationException if records are currently locked for write.
WithWorld(IEnumerable<RecordView>, World)
Get all records matching an existing world.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static IEnumerable<EntitiesJournaling.RecordView> WithWorld(this IEnumerable<EntitiesJournaling.RecordView> records, World world)Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<EntitiesJournaling.RecordView> | records | |
| World | world | 
Returns
| Type | Description | 
|---|---|
| IEnumerable<EntitiesJournaling.RecordView> | IEnumerable of EntitiesJournaling.RecordView. | 
Remarks
Throws InvalidOperationException if records are currently locked for write.