@@ -22,13 +22,13 @@ namespace OnTopic.Models {
2222 /// provided via the public interface then it will instead need to be defined in some other way.
2323 /// </para>
2424 /// <para>
25- /// For instance, in the default MVC library, the <c>TopicViewResult</c> class requires that the <see
26- /// cref="Topic. ContentType"/> and <see cref="Topic.View"/> be supplied separately if they're not provided as part of a
27- /// <see cref=" ITopicViewModel"/>. The exact details of this will obviously vary based on the implementation of the
28- /// presentation layer and any supporting libraries.
25+ /// For instance, in the default MVC library, the <c>TopicViewResult</c> class requires that the <see cref="Topic.
26+ /// ContentType"/> and <see cref="Topic.View"/> be supplied separately if they're not provided as part of a <see cref="
27+ /// ITopicViewModel"/>. The exact details of this will obviously vary based on the implementation of the presentation
28+ /// layer and any supporting libraries.
2929 /// </para>
3030 /// </remarks>
31- public interface ITopicViewModel : IKeyedTopicViewModel , IAssociatedTopicBindingModel {
31+ public interface ITopicViewModel : IKeyedTopicViewModel , IAssociatedTopicBindingModel , ITopicBindingModel {
3232
3333 /*==========================================================================================================================
3434 | PROPERTY: ID
@@ -47,18 +47,6 @@ public interface ITopicViewModel: IKeyedTopicViewModel, IAssociatedTopicBindingM
4747 /// </summary>
4848 string ? WebPath { get ; init ; }
4949
50- /*==========================================================================================================================
51- | PROPERTY: CONTENT TYPE
52- \-------------------------------------------------------------------------------------------------------------------------*/
53- /// <summary>
54- /// Gets the key name of the content type that the current topic represents.
55- /// </summary>
56- /// <remarks>
57- /// Each topic is associated with a content type. The content type determines which attributes are displayed in the Topics
58- /// Editor (via the <see cref="ContentTypeDescriptor.AttributeDescriptors"/> property).
59- /// </remarks>
60- string ? ContentType { get ; init ; }
61-
6250 /*==========================================================================================================================
6351 | PROPERTY: VIEW
6452 \-------------------------------------------------------------------------------------------------------------------------*/
@@ -67,10 +55,10 @@ public interface ITopicViewModel: IKeyedTopicViewModel, IAssociatedTopicBindingM
6755 /// </summary>
6856 /// <remarks>
6957 /// This value can be set via the query string (via the <c>TopicViewResultExecutor</c> class), via the Accepts header
70- /// (also via the <c>TopicViewResultExecutor</c> class), on the topic itself (via this property), or via the
71- /// <see cref=" ContentType"/>. By default, it will be set to the name of the <see cref="ContentType"/>; e.g., if the
72- /// Content Type is " Page" , then the view will be " Page" . This will cause the <c>TopicViewResultExecutor</c> to look
73- /// for a view at, for instance, <c>/Views/Page/Page.cshtml</c>.
58+ /// (also via the <c>TopicViewResultExecutor</c> class), on the topic itself (via this property), or via the <see cref="
59+ /// ITopicBindingModel. ContentType"/>. By default, it will be set to the name of the <see cref="ITopicBindingModel.
60+ /// ContentType"/>; e.g., if the Content Type is <c> Page</c> , then the view will be <c> Page</c> . This will cause the <c>
61+ /// TopicViewResultExecutor</c> to look for a view at, for instance, <c>/Views/Page/Page.cshtml</c>.
7462 /// </remarks>
7563 string ? View { get ; init ; }
7664
0 commit comments