/// <summary> /// Creats a new Entry instance with the provided details. /// </summary> /// <param name="item">The item the Entry related to</param> /// <param name="displayName">The display name for the entry</param> /// <param name="comments">The XmlCodeComments associated with the entry.</param> /// <param name="parent">The parent entry for the new Entry.</param> /// <returns>A new Entry describing the <paramref name="item"/></returns> protected virtual Entry InitialiseEntry(object item, string displayName, ICommentSource comments, Entry parent) { return(new Entry(item, displayName, comments, parent)); }
/// <summary> /// Creats a new Entry instance with the provided details. /// </summary> /// <param name="item">The item the Entry related to</param> /// <param name="displayName">The display name for the entry</param> /// <param name="comments">The XmlCodeComments associated with the entry.</param> /// <param name="parent">The parent entry for the new Entry.</param> /// <returns>A new Entry describing the <paramref name="item"/></returns> public Entry Create(object item, string displayName, ICommentSource comments, Entry parent) { _created++; return(InitialiseEntry(item, displayName, comments, parent)); }