/// <summary> /// Create a new ArtifactDataItem, add it to the collection of <see cref="ArtifactDataItem"/>(s) /// and add to it the content given in the content argument. /// </summary> /// <param name="modelItemType">The unqualified name of the type of the domain Model which originates the artifact to add</param> /// <param name="modelItemName">The name of the item instance of the domain Model which originates the artifact to add</param> /// <param name="content">the content to add to the <see cref="ArtifactDataItem"/> just created</param> /// <returns>The created <see cref="ArtifactDataItem"/> instance</returns> public ArtifactDataItem CreateArtifactDataItem(string modelItemType, string modelItemName, string content) { ArtifactDataItem retval = new ArtifactDataItem(modelItemType, modelItemName); ArtifactDataItems.Add(retval); if (!string.IsNullOrEmpty(content)) retval.AddBlockContent(content); return retval; }