示例#1
0
 public static ActionEvent WithExtras(this ActionEvent actionEvent, Dictionary <string, object> extras)
 {
     actionEvent.Extras = extras;
     return(actionEvent);
 }
示例#2
0
 public static ActionEvent WithAccount(this ActionEvent actionEvent, Account account)
 {
     actionEvent.Account = account;
     return(actionEvent);
 }
示例#3
0
 public static ActionEvent WithRevenue(this ActionEvent actionEvent, decimal revenue)
 {
     actionEvent.Revenue = revenue;
     return(actionEvent);
 }
示例#4
0
 public static ActionEvent WithLinks(this ActionEvent actionEvent, ActionLink[] links)
 {
     actionEvent.Links = links;
     return(actionEvent);
 }
示例#5
0
 public static ActionEvent WithNote(this ActionEvent actionEvent, string note)
 {
     actionEvent.Note = note;
     return(actionEvent);
 }
示例#6
0
 public static ActionEvent WithName(this ActionEvent actionEvent, string name)
 {
     actionEvent.Name = name;
     return(actionEvent);
 }
示例#7
0
 public static ActionEventCreateRequest WithEvent(this ActionEventCreateRequest req, ActionEvent actionEvent)
 {
     req.Event = actionEvent;
     return(req);
 }
示例#8
0
 public static ActionEventCreateRequest WithEvent(this ActionEventCreateRequest req, ActionEvent actionEvent)
 {
     req.Event = actionEvent;
     return req;
 }