NewFeed() static private method

static private NewFeed ( ) : Feed
return Feed
        public static Feed FeedNew(string action, SourceType sourceType, int sourceId)
        {
            var feed = Feed.NewFeed();

            feed.Action       = action;
            feed.SourceTypeId = (int)sourceType;
            feed.SourceId     = sourceId;

            return(feed);
        }
Example #2
0
 public static Feed FeedNew()
 {
     return(Feed.NewFeed());
 }
        public static Feed FeedNew()
        {
            var feed = Feed.NewFeed();

            return(feed);
        }