General purpose comment module. Although a simple module, comments can add a lot of interactivity to your community resources. Configuration of this module is easy: it primarily depends on a ParentEntityId / ParentEntityType pair of properties, where the first one defines the Id of the entity your are commenting, and the second one is used to specify the type of the parent entity (SnEntityType enum can hold values for Album, Message, Note, BlogPost, ...). You can use Custom entity types for linking comments for other types of content. It can be done programatically or via Web part communication - comments part is a connection consumer, and provider parts have to implement the ISnRelationshipConnection interface and provide a method decorated with ConnectionProvider attribute.

Namespace: MonoSoftware.MonoX.ModuleGallery.SocialNetworking
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public class Comments : BasePagedPart, INamingContainer, 
	IPostBackDataHandler, IPostBackEventHandler, IExcludeAutoRegisterPart
Visual Basic
Public Class Comments
	Inherits BasePagedPart
	Implements INamingContainer, IPostBackDataHandler, IPostBackEventHandler, IExcludeAutoRegisterPart
Visual C++
public ref class Comments : public BasePagedPart, 
	INamingContainer, IPostBackDataHandler, IPostBackEventHandler, IExcludeAutoRegisterPart
F#
type Comments =  
    class
        inherit BasePagedPart
        interface INamingContainer
        interface IPostBackDataHandler
        interface IPostBackEventHandler
        interface IExcludeAutoRegisterPart
    end

Inheritance Hierarchy

System..::..Object
  System.Web.UI..::..Control
    System.Web.UI..::..TemplateControl
      System.Web.UI..::..UserControl
        UserControlBase
          MonoSoftware.MonoX..::..BasePart
            MonoSoftware.MonoX..::..BaseAutoRegisterPart
              MonoSoftware.MonoX..::..BasePagedPart
                MonoSoftware.MonoX.ModuleGallery.SocialNetworking..::..Comments
                  MonoSoftware.MonoX.ModuleGallery.Mobile..::..Comments

See Also