2 using System
.Workflow
.ComponentModel
;
3 using System
.Workflow
.Activities
;
5 namespace Microsoft
.Samples
.ClassRegistration
8 public class RegistrationEventArgs
: ExternalDataEventArgs
10 private Guid registrationId
;
12 public RegistrationEventArgs(Guid instanceId
) : base(instanceId
)
14 this.RegistrationId
= instanceId
;
17 public Guid RegistrationId
19 get { return this.registrationId; }
20 set { this.registrationId = value; }
24 [ExternalDataExchange
]
25 public interface IRegistrarService
27 event EventHandler
<RegistrationEventArgs
> Approved
;
28 event EventHandler
<RegistrationEventArgs
> Rejected
;