コード例 #1
0
 internal override Task <Location> GetEntityAsync(StorageContext context, ILocation data, CancellationToken cancellationToken)
 {
     return(Task.Run(() => EntityFactory.CreateLocation(data), cancellationToken));
 }
コード例 #2
0
 internal override Location GetEntity(StorageContext context, ILocation data)
 {
     return(EntityFactory.CreateLocation(data));
 }