コード例 #1
0
        // Protected Methods
        protected override DomainNotificationHandler <DomainNotification> GetDomainNotificationHandler()
        {
            return(async domainNotification => {
                DomainNotificationsCollection.Add(domainNotification);

                return await Task.FromResult(true);
            });
        }
コード例 #2
0
 // Public Methods
 public override void AddDomainNotification(DomainNotification domainNotification)
 {
     DomainNotificationsCollection.Add(domainNotification);
 }