public StoryMetaData(Type storyType, string asA, string iWant, string soThat, string storyTitle = null) { Title = storyTitle ?? NetToString.Convert(storyType.Name); Type = storyType; AsA = asA; IWant = iWant; SoThat = soThat; }
public StoryMetaData(Type storyType, StoryAttribute storyAttribute) { var title = storyAttribute.Title; if (string.IsNullOrEmpty(title)) { title = NetToString.Convert(storyType.Name); } Type = storyType; Title = title; AsA = storyAttribute.AsA; IWant = storyAttribute.IWant; SoThat = storyAttribute.SoThat; }