mocha/dotnet/Libraries/Mocha.OMS/AttributeValueRequestedEvent.cs
2023-10-31 11:47:27 -04:00

19 lines
658 B
C#
Executable File

using System.ComponentModel;
using Mocha.Core;
namespace Mocha.OMS
{
public class AttributeOrRelationshipRequestedEventArgs : CancelEventArgs
{
public Instance TargetInstance { get; private set; } = null;
public Instance AttributeOrRelationshipInstance { get; private set; } = null;
public object Value { get; set; } = null;
public AttributeOrRelationshipRequestedEventArgs(Instance instTarget, Instance instAttribute)
{
TargetInstance = instTarget;
AttributeOrRelationshipInstance = instAttribute;
}
}
public delegate void AttributeOrRelationshipRequestedEventHandler(object sender, AttributeOrRelationshipRequestedEventArgs e);
}