mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Activities System.Activities.DurableInstancing System.Activities.Presentation System.Runtime.DurableInstancing System.Workflow.Activities System.Workflow.ComponentModel System.Workflow.Runtime System.WorkflowServices System.Xaml.Hosting XamlBuildTask
43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
// <copyright>
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace System.Activities.Debugger
|
|
{
|
|
public sealed class SourceLocationFoundEventArgs : EventArgs
|
|
{
|
|
private object target;
|
|
private SourceLocation sourceLocation;
|
|
private bool isValueNode;
|
|
|
|
public SourceLocationFoundEventArgs(object target, SourceLocation sourceLocation)
|
|
{
|
|
UnitTestUtility.Assert(target != null, "Target cannot be null and is ensured by caller");
|
|
UnitTestUtility.Assert(sourceLocation != null, "Target cannot be null and is ensured by caller");
|
|
this.target = target;
|
|
this.sourceLocation = sourceLocation;
|
|
}
|
|
|
|
internal SourceLocationFoundEventArgs(object target, SourceLocation sourceLocation, bool isValueNode)
|
|
: this(target, sourceLocation)
|
|
{
|
|
this.isValueNode = isValueNode;
|
|
}
|
|
|
|
public object Target
|
|
{
|
|
get { return this.target; }
|
|
}
|
|
|
|
public SourceLocation SourceLocation
|
|
{
|
|
get { return this.sourceLocation; }
|
|
}
|
|
|
|
internal bool IsValueNode
|
|
{
|
|
get { return this.isValueNode; }
|
|
}
|
|
}
|
|
}
|