public void AddSubStory(NewsStory story) { if (story.DoCalculateRemark() == null) { return; } this._subStories.Add(story); }
public NewsStory FromName( string storyName, string name1Val = null, string name2Val = null, string extra01Val = null, string extra02Val = null) { NewsStory newsStory = new NewsStory() { name = name1Val, name2 = name2Val, extra01 = extra01Val, extra02 = extra02Val, _storyName = storyName }; newsStory._importance = newsStory.importance; newsStory._section = this._section; return(newsStory); }