예제 #1
0
        async Task <ILogicalLog> OpenLogicalLog(
            IPhysicalLog phylog,
            Guid logicalLogId)
        {
            ILogicalLog t = await phylog.OpenLogicalLogAsync(
                logicalLogId,
                "",
                CancellationToken.None);

            return(t);
        }
예제 #2
0
        ILogicalLog OpenLogicalLog(
            IPhysicalLog phylog,
            Guid logicalLogId)
        {
            Task <ILogicalLog> t = phylog.OpenLogicalLogAsync(
                logicalLogId,
                "",
                CancellationToken.None);

            t.Wait();
            return(t.Result);
        }