Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -0,0 +1,61 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Workflow.ComponentModel;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Workflow.Runtime.Hosting;
namespace System.Workflow.Runtime.Tracking
{
/// <summary>
/// EventArgs for IProfileNotification.ProfileUpdated event.
/// </summary>
[Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class ProfileUpdatedEventArgs : EventArgs
{
private TrackingProfile _profile = null;
private Type _workflowType = null;
public ProfileUpdatedEventArgs() { }
public ProfileUpdatedEventArgs(Type workflowType, TrackingProfile profile)
{
_workflowType = workflowType;
_profile = profile;
}
public TrackingProfile TrackingProfile
{
get { return _profile; }
set { _profile = value; }
}
public Type WorkflowType
{
get { return _workflowType; }
set { _workflowType = value; }
}
}
/// <summary>
/// EventArgs for IProfileNotification.ProfileRemoved event.
/// </summary>
[Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class ProfileRemovedEventArgs : EventArgs
{
private Type _workflowType = null;
public ProfileRemovedEventArgs() { }
public ProfileRemovedEventArgs(Type workflowType)
{
_workflowType = workflowType;
}
public Type WorkflowType
{
get { return _workflowType; }
set { _workflowType = value; }
}
}
}