async Task <ILogicalLog> OpenLogicalLog( IPhysicalLog phylog, Guid logicalLogId) { ILogicalLog t = await phylog.OpenLogicalLogAsync( logicalLogId, "", CancellationToken.None); return(t); }
ILogicalLog OpenLogicalLog( IPhysicalLog phylog, Guid logicalLogId) { Task <ILogicalLog> t = phylog.OpenLogicalLogAsync( logicalLogId, "", CancellationToken.None); t.Wait(); return(t.Result); }