Example #1
0
 private void OnNewIssueCustomArgs(NewIssueEventArgs args)
 {
     if (NewIssueCustomArgs != null)
     {
         NewIssueCustomArgs(this, args);
     }
 }
Example #2
0
        public void NewRelease()
        {
            NewIssueEventArgs args = new NewIssueEventArgs();

            args.Name = Name;
            args.Time = DateTime.Now;
            OnNewIssue();
            OnNewIssueCustomArgs(args);
        }
        private static void NewIssueCallbackCustom(object sender, NewIssueEventArgs e)
        {
            string newIssue = $"Issue: {e.Name}, Date: {e.Time}";

            // notify marketing

            // notify affiliates

            // notify account payable

            // store to database
        }
Example #4
0
 public void NewIssueCustomCallBack(object sender, NewIssueEventArgs e)
 {
     LastIssue.Name = e.Name;
     LastIssue.Time = e.Time;
 }
Example #5
0
 public Subscriber(string name)
 {
     Name      = name;
     LastIssue = new NewIssueEventArgs();
 }