コード例 #1
0
ファイル: Gig.cs プロジェクト: Ahmed1511/GigHub
        public void Cancel()
        {
            IsCanceled = true;
            var Notification = new Notification(NoteficationType.GigCanceled, this);

            foreach (var Attendee in Attendances.Select(a => a.Attendee))
            {
                Attendee.Notify(Notification);
            }
        }
コード例 #2
0
ファイル: Gig.cs プロジェクト: AhmedSahwky/GigHub
        public void Canceled()
        {
            IsCanceled = true;

            var notification = Notification.GigCanceled(this);


            foreach (var Attendee in Attendances.Select(a => a.Attendee))
            {
                Attendee.Notify(notification);
            }
        }