소스 검색

Added comment for CommentAttribute

Kenric Nugteren 6 달 전
부모
커밋
7ee92f80ed
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      InABox.Core/Objects/Editors/Utils/CommentAttribute.cs

+ 4 - 0
InABox.Core/Objects/Editors/Utils/CommentAttribute.cs

@@ -4,6 +4,10 @@ using System.Text;
 
 namespace InABox.Core
 {
+    /// <summary>
+    /// Sets the "comment" of a given property. This allows for telling the user what a given column does, when selecting columns for grids and filters and stuff.
+    /// This also is used as the <see cref="BaseEditor.ToolTip"/> if there is none provided.
+    /// </summary>
     public class CommentAttribute : Attribute
     {
         public string Comment { get; set; }