You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
50
external/referencesource/System.Workflow.Activities/Interfaces.cs
vendored
Normal file
50
external/referencesource/System.Workflow.Activities/Interfaces.cs
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
namespace System.Workflow.Activities
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Workflow.ComponentModel;
|
||||
using System.Workflow.ComponentModel.Design;
|
||||
using System.Collections.Generic;
|
||||
using System.Transactions;
|
||||
using System.Workflow.Runtime.Hosting;
|
||||
using System.Workflow.Runtime;
|
||||
using System.Workflow.ComponentModel.Compiler;
|
||||
|
||||
[Serializable]
|
||||
[Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
|
||||
public sealed class ConditionalEventArgs : EventArgs
|
||||
{
|
||||
bool result;
|
||||
|
||||
public bool Result
|
||||
{
|
||||
get
|
||||
{
|
||||
return result;
|
||||
}
|
||||
set
|
||||
{
|
||||
result = value;
|
||||
}
|
||||
}
|
||||
|
||||
public ConditionalEventArgs()
|
||||
: this(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public ConditionalEventArgs(bool result)
|
||||
{
|
||||
this.result = result;
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
|
||||
public interface IEventActivity
|
||||
{
|
||||
void Subscribe(ActivityExecutionContext parentContext, IActivityEventListener<QueueEventArgs> parentEventHandler);
|
||||
void Unsubscribe(ActivityExecutionContext parentContext, IActivityEventListener<QueueEventArgs> parentEventHandler);
|
||||
IComparable QueueName { get; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user