示例#1
0
 public static FeedCommand<SubscribeNewsArgs> SubscribeNews(NewsSource newsSource, bool delay = false)
 {
     return new FeedCommand<SubscribeNewsArgs>
     {
         cmd = SubscribeCommandParameter,
         args = new SubscribeNewsArgs(newsSource, delay)
     };
 }
示例#2
0
 public SubscribeNewsArgs(NewsSource newsSource, bool delay=false)
 {
     s = newsSource.Sourceid;
     delay = delay;
 }