e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
62 lines
1.8 KiB
C#
62 lines
1.8 KiB
C#
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; }
|
|
}
|
|
}
|
|
}
|