Пример #1
0
 public override void DoActivityThings(Data data)
 {
     if (data.GetDataType() == Model.DataType.Campaign)
     {
         Adapter = new ActivityAdapter();
         Adapter.DoActivityThings(data);
     }
 }
Пример #2
0
 public override void DoActivityThings(Data data)
 {
     if (data.GetDataType() == Model.DataType.Email)
     {
         Adapter = new ActivityAdapter();
         Adapter.DoActivityThings(data);
     }
     else if (data.GetDataType() == Model.DataType.Others)
     {
     }
 }