You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -0,0 +1,52 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
namespace System.Activities.Hosting
|
||||
{
|
||||
using System;
|
||||
using System.Runtime;
|
||||
|
||||
public sealed class WorkflowInstanceProxy
|
||||
{
|
||||
WorkflowInstance instance;
|
||||
|
||||
internal WorkflowInstanceProxy(WorkflowInstance instance)
|
||||
{
|
||||
this.instance = instance;
|
||||
}
|
||||
|
||||
public Guid Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.instance.Id;
|
||||
}
|
||||
}
|
||||
|
||||
public Activity WorkflowDefinition
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.instance.WorkflowDefinition;
|
||||
}
|
||||
}
|
||||
|
||||
public IAsyncResult BeginResumeBookmark(Bookmark bookmark, object value, AsyncCallback callback, object state)
|
||||
{
|
||||
return BeginResumeBookmark(bookmark, value, TimeSpan.MaxValue, callback, state);
|
||||
}
|
||||
|
||||
public IAsyncResult BeginResumeBookmark(Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state)
|
||||
{
|
||||
TimeoutHelper.ThrowIfNegativeArgument(timeout);
|
||||
|
||||
return this.instance.OnBeginResumeBookmark(bookmark, value, timeout, callback, state);
|
||||
}
|
||||
|
||||
public BookmarkResumptionResult EndResumeBookmark(IAsyncResult result)
|
||||
{
|
||||
return this.instance.OnEndResumeBookmark(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user