• R/O
  • SSH
  • HTTPS

drfx: Commit


Commit MetaInfo

Revision151 (tree)
Time2010-02-21 18:43:48
Authorsasaminn

Log Message

DESCRIBE: XML ドキュメントコメントを追記。

Change Summary

Incremental Difference

--- drfx/trunk/src/Explorer/MainWindow.xaml.cs (revision 150)
+++ drfx/trunk/src/Explorer/MainWindow.xaml.cs (revision 151)
@@ -25,12 +25,21 @@
2525
2626 namespace Sasa.QualityTools.DrFx.Explorer
2727 {
28+ /// <summary>
29+ /// DrFx Explorer のメイン画面を表します。
30+ /// </summary>
2831 public partial class MainWindow : Window
2932 {
33+ /// <summary>
34+ /// バージョン番号。
35+ /// </summary>
3036 private string version;
3137
3238
3339
40+ /// <summary>
41+ /// バージョン番号。
42+ /// </summary>
3443 public string Version
3544 {
3645 get
@@ -45,6 +54,9 @@
4554
4655
4756
57+ /// <summary>
58+ /// <see cref="Sasa.QualityTools.DrFx.Explorer.MainWindow"/> クラスの新しいインスタンスを初期化します。
59+ /// </summary>
4860 public MainWindow()
4961 {
5062 InitializeComponent();
@@ -52,6 +64,11 @@
5264
5365
5466
67+ /// <summary>
68+ /// FxCop レポート表示画面を開きます。
69+ /// </summary>
70+ /// <param name="sender">イベント送信元オブジェクト。</param>
71+ /// <param name="e">イベントデータ。</param>
5572 private void OpenReport(object sender, ExecutedRoutedEventArgs e)
5673 {
5774 string file = DialogHelper.SelectFxCopReportFile();
--- drfx/trunk/src/Explorer/DialogHelper.cs (revision 150)
+++ drfx/trunk/src/Explorer/DialogHelper.cs (revision 151)
@@ -23,8 +23,15 @@
2323
2424 namespace Sasa.QualityTools.DrFx.Explorer
2525 {
26+ /// <summary>
27+ /// ダイアログ表示用のヘルパークラスです。
28+ /// </summary>
2629 internal static class DialogHelper
2730 {
31+ /// <summary>
32+ /// FxCop レポートファイル選択ダイアログを表示します。
33+ /// </summary>
34+ /// <returns>FxCop レポートファイルのパス。選択がキャンセルされた場合は null。</returns>
2835 internal static string SelectFxCopReportFile()
2936 {
3037 using (OpenFileDialog dialog = new OpenFileDialog())
--- drfx/trunk/src/Explorer/FxCopIssueDetailWidget.xaml.cs (revision 150)
+++ drfx/trunk/src/Explorer/FxCopIssueDetailWidget.xaml.cs (revision 151)
@@ -29,14 +29,26 @@
2929
3030 namespace Sasa.QualityTools.DrFx.Explorer
3131 {
32+ /// <summary>
33+ /// FxCop のルール違反の詳細を表示するためのウェジットを表すクラスです。
34+ /// </summary>
3235 public partial class FxCopIssueDetailWidget : UserControl
3336 {
34- public static DependencyProperty FxCopIssueRelationshipProperty = DependencyProperty.Register("FxCopIssueRelationship", typeof(FxCopIssueRelationship), typeof(FxCopIssueDetailWidget), new PropertyMetadata(OnFxCopIssueDetailWidgetChanged));
37+ /// <summary>
38+ /// ルール違反情報のリレーションシップを表す依存プロパティ。
39+ /// </summary>
40+ public static DependencyProperty FxCopIssueRelationshipProperty = DependencyProperty.Register("FxCopIssueRelationship", typeof(FxCopIssueRelationship), typeof(FxCopIssueDetailWidget), new PropertyMetadata(OnFxCopIssueRelationshipChanged));
3541
42+ /// <summary>
43+ /// ルール違反したソースコード行前後のソースコード行のコレクション。
44+ /// </summary>
3645 private ObservableCollection<SourceCodeLine> lines = new ObservableCollection<SourceCodeLine>();
3746
3847
3948
49+ /// <summary>
50+ /// ルール違反情報のリレーションシップ。
51+ /// </summary>
4052 public FxCopIssueRelationship FxCopIssueRelationship
4153 {
4254 get
@@ -50,6 +62,9 @@
5062 }
5163 }
5264
65+ /// <summary>
66+ /// ルール違反したソースコード行前後のソースコード行のコレクション。
67+ /// </summary>
5368 public ObservableCollection<SourceCodeLine> Lines
5469 {
5570 get
@@ -60,6 +75,9 @@
6075
6176
6277
78+ /// <summary>
79+ /// <see cref="Sasa.QualityTools.DrFx.Explorer.FxCopIssueDetailWidget"/> クラスの新しいインスタンスを初期化します。
80+ /// </summary>
6381 public FxCopIssueDetailWidget()
6482 {
6583 InitializeComponent();
@@ -67,6 +85,13 @@
6785
6886
6987
88+ /// <summary>
89+ /// <paramref name="filePath"/> で指定されたファイルから、<paramref name="lineNumber"/> で指定された
90+ /// 付近のソースコード行を取得します。
91+ /// </summary>
92+ /// <param name="filePath">ファイルパス。</param>
93+ /// <param name="lineNumber">行番号。</param>
94+ /// <returns>指定された行番号前後のソースコード行のリスト。</returns>
7095 internal static List<SourceCodeLine> GetViolationCodeLines(string filePath, int lineNumber)
7196 {
7297 if (String.IsNullOrEmpty(filePath) || File.Exists(filePath) == false || lineNumber <= 0)
@@ -114,7 +139,12 @@
114139 return lines;
115140 }
116141
117- private static void OnFxCopIssueDetailWidgetChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
142+ /// <summary>
143+ /// ルール違反リレーションシップの値が変わった場合に、ルール違反箇所付近のソースコードを取得しなおします。
144+ /// </summary>
145+ /// <param name="sender">イベント送信元オブジェクト。</param>
146+ /// <param name="e">イベントデータ。</param>
147+ private static void OnFxCopIssueRelationshipChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
118148 {
119149 FxCopIssueDetailWidget widget = (FxCopIssueDetailWidget)sender;
120150 FxCopIssueRelationship relationship = e.NewValue as FxCopIssueRelationship;
--- drfx/trunk/src/Explorer/FxCopReportWindow.xaml.cs (revision 150)
+++ drfx/trunk/src/Explorer/FxCopReportWindow.xaml.cs (revision 151)
@@ -27,16 +27,31 @@
2727
2828 namespace Sasa.QualityTools.DrFx.Explorer
2929 {
30+ /// <summary>
31+ /// DrFx Explorer のレポート表示画面を表します。
32+ /// </summary>
3033 public partial class FxCopReportWindow : Window
3134 {
35+ /// <summary>
36+ /// 読み込んだ FxCop レポートを表す依存プロパティ。
37+ /// </summary>
3238 public static readonly DependencyProperty FxCopReportProperty = DependencyProperty.Register("FxCopReport", typeof(FxCopReport), typeof(FxCopReportWindow));
3339
40+ /// <summary>
41+ /// ルール違反情報と、ルール違反対象や違反したルールの詳細情報の全リレーションのリスト。
42+ /// </summary>
3443 private List<FxCopIssueRelationship> relationships = new List<FxCopIssueRelationship>();
3544
45+ /// <summary>
46+ /// 画面上で現在選択中の違反対象についての、ルール違反情報と、ルール違反対象や違反したルールの詳細情報のリレーションのリスト。
47+ /// </summary>
3648 private ObservableCollection<FxCopIssueRelationship> currentRelationships = new ObservableCollection<FxCopIssueRelationship>();
3749
3850
3951
52+ /// <summary>
53+ /// 読み込んだ FxCop レポート。
54+ /// </summary>
4055 public FxCopReport FxCopReport
4156 {
4257 get
@@ -49,6 +64,9 @@
4964 }
5065 }
5166
67+ /// <summary>
68+ /// 画面上で現在選択中の違反対象についての、ルール違反情報と、ルール違反対象や違反したルールの詳細情報のリレーションのリスト。
69+ /// </summary>
5270 public ObservableCollection<FxCopIssueRelationship> CurrentRelationships
5371 {
5472 get
@@ -59,6 +77,9 @@
5977
6078
6179
80+ /// <summary>
81+ /// <see cref="Sasa.QualityTools.DrFx.Explorer.FxCopReportWindow"/> クラスの新しいインスタンスを初期化します。
82+ /// </summary>
6283 public FxCopReportWindow()
6384 {
6485 InitializeComponent();
@@ -66,6 +87,10 @@
6687
6788
6889
90+ /// <summary>
91+ /// 画面表示時に、画面情報を初期化します。
92+ /// </summary>
93+ /// <param name="e">イベントデータ。</param>
6994 protected override void OnContentRendered(EventArgs e)
7095 {
7196 base.OnContentRendered(e);
@@ -79,6 +104,10 @@
79104 this.relationships.AddRange(CreateRelationships(FxCopReport));
80105 }
81106
107+ /// <summary>
108+ /// ルール違反情報と、ルール違反対象や違反したルールの詳細情報のリレーションのコレクションを作成します。。
109+ /// </summary>
110+ /// <param name="report">リレーションコレクションの作成に使用する、FxCop レポートの情報。</param>
82111 internal static IEnumerable<FxCopIssueRelationship> CreateRelationships(FxCopReport report)
83112 {
84113 List<FxCopIssueRelationship> relationships = new List<FxCopIssueRelationship>();
@@ -106,6 +135,11 @@
106135 return relationships;
107136 }
108137
138+ /// <summary>
139+ /// 指定されたアセンブリに関するルール違反情報のリレーションシップコレクションを作成します。
140+ /// </summary>
141+ /// <param name="assembly">FxCop ルールに違反した (もしくはルール違反した型などを含む) アセンブリ。</param>
142+ /// <returns>ルール違反情報のリレーションシップコレクション。</returns>
109143 internal static IEnumerable<FxCopIssueRelationship> CreateRelationships(AssemblyWarning assembly)
110144 {
111145 foreach (FxCopIssue issue in assembly.Issues)
@@ -122,6 +156,11 @@
122156 }
123157 }
124158
159+ /// <summary>
160+ /// 指定された名前空間に関するルール違反情報のリレーションシップコレクションを作成します。
161+ /// </summary>
162+ /// <param name="nameSpace">FxCop ルールに違反した (もしくはルール違反した型などを含む) 名前空間。</param>
163+ /// <returns>ルール違反情報のリレーションシップコレクション。</returns>
125164 internal static IEnumerable<FxCopIssueRelationship> CreateRelationships(NamespaceWarning nameSpace)
126165 {
127166 foreach (FxCopIssue issue in nameSpace.Issues)
@@ -138,6 +177,11 @@
138177 }
139178 }
140179
180+ /// <summary>
181+ /// 指定された型に関するルール違反情報のリレーションシップコレクションを作成します。
182+ /// </summary>
183+ /// <param name="type">FxCop ルールに違反した (もしくはルール違反したメンバーを含む) 型。</param>
184+ /// <returns>ルール違反情報のリレーションシップコレクション。</returns>
141185 internal static IEnumerable<FxCopIssueRelationship> CreateRelationships(TypeWarning type)
142186 {
143187 foreach (FxCopIssue issue in type.Issues)
@@ -154,6 +198,11 @@
154198 }
155199 }
156200
201+ /// <summary>
202+ /// 指定されたメンバーに関するルール違反情報のリレーションシップコレクションを作成します。
203+ /// </summary>
204+ /// <param name="type">FxCop ルールに違反したメンバー。</param>
205+ /// <returns>ルール違反情報のリレーションシップコレクション。</returns>
157206 internal static IEnumerable<FxCopIssueRelationship> CreateRelationships(MemberWarning member)
158207 {
159208 foreach (FxCopIssue issue in member.Issues)
@@ -162,6 +211,11 @@
162211 }
163212 }
164213
214+ /// <summary>
215+ /// 画面上で選択された違反対象に対応する違反情報コレクションを作成します。
216+ /// </summary>
217+ /// <param name="sender">イベント送信元オブジェクト。</param>
218+ /// <param name="e">イベントデータ。</param>
165219 private void ShowIssues(object sender, RoutedEventArgs e)
166220 {
167221 TreeViewItem item = (TreeViewItem)sender;
--- drfx/trunk/src/Explorer/Report/FxCopReport.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/FxCopReport.cs (revision 151)
@@ -25,18 +25,36 @@
2525
2626 namespace Sasa.QualityTools.DrFx.Explorer.Report
2727 {
28+ /// <summary>
29+ /// FxCop レポートを表すクラスです。
30+ /// </summary>
2831 public class FxCopReport
2932 {
33+ /// <summary>
34+ /// FxCop ルールに違反したアセンブリの情報のリスト。
35+ /// </summary>
3036 private List<AssemblyWarning> assemblies;
3137
38+ /// <summary>
39+ /// FxCop ルールに違反した名前空間の情報のリスト。
40+ /// </summary>
3241 private List<NamespaceWarning> namespaces;
3342
43+ /// <summary>
44+ /// FxCop レポートの中に埋め込まれていた (つまり、違反が検出された) ルール情報。
45+ /// </summary>
3446 private Dictionary<string, FxCopRule> rules;
3547
3648
3749
50+ /// <summary>
51+ /// レポートファイルのパス。
52+ /// </summary>
3853 public string ReportFile { get; private set; }
3954
55+ /// <summary>
56+ /// FxCop ルールに違反したアセンブリの情報のリスト。
57+ /// </summary>
4058 public IEnumerable<AssemblyWarning> Assemblies
4159 {
4260 get
@@ -45,6 +63,9 @@
4563 }
4664 }
4765
66+ /// <summary>
67+ /// FxCop ルールに違反した名前空間の情報のリスト。
68+ /// </summary>
4869 public IEnumerable<NamespaceWarning> Namespaces
4970 {
5071 get
@@ -53,6 +74,9 @@
5374 }
5475 }
5576
77+ /// <summary>
78+ /// FxCop レポートの中に埋め込まれていた (つまり、違反が検出された) ルール情報。
79+ /// </summary>
5680 public IDictionary<string, FxCopRule> Rules
5781 {
5882 get
@@ -63,6 +87,9 @@
6387
6488
6589
90+ /// <summary>
91+ /// <see cref="Sasa.QualityTools.DrFx.Explorer.Report.FxCopReport"/> クラスの新しいインスタンスを初期化します。
92+ /// </summary>
6693 private FxCopReport()
6794 {
6895 this.assemblies = new List<AssemblyWarning>();
@@ -73,10 +100,10 @@
73100
74101
75102 /// <summary>
76- /// 指定された FxCop レポートを解析し、オブジェクト化します。
103+ /// 指定された FxCop レポートを解析し、インスタンス化します。
77104 /// </summary>
78105 /// <param name="file">FxCop レポートファイルのパス。</param>
79- /// <returns>指定された FxCop レポートを表すオブジェクト。</returns>
106+ /// <returns>指定された FxCop レポートを表すインスタンス。</returns>
80107 /// <exception cref="System.ArgumentException"><paramref name="file"/> として null や空文字列、ファイルシステム上に存在しないパスが指定された場合に発生します。</exception>
81108 public static FxCopReport Load(string file)
82109 {
@@ -106,6 +133,12 @@
106133 return report;
107134 }
108135
136+ /// <summary>
137+ /// FxCop レポートの Targets ノードを基に、<see cref="Sasa.QualityTools.DrFx.Explorer.Report.AssemblyWarning"/> オブジェクトの
138+ /// コレクションを作成します。
139+ /// </summary>
140+ /// <param name="assembliesNode">FxCop レポートの Targets ノード。</param>
141+ /// <returns>FxCop レポートの Targets ノードを基に作成した <see cref="Sasa.QualityTools.DrFx.Explorer.Report.AssemblyWarning"/> オブジェクトのコレクション。</returns>
109142 internal static List<AssemblyWarning> CreateAssemblyWarnings(XmlNode assembliesNode)
110143 {
111144 if (assembliesNode == null)
@@ -139,6 +172,12 @@
139172 return assemblies;
140173 }
141174
175+ /// <summary>
176+ /// FxCop レポートの Namespaces ノードを基に、<see cref="Sasa.QualityTools.DrFx.Explorer.Report.NamespaceWarning"/> オブジェクトの
177+ /// コレクションを作成します。
178+ /// </summary>
179+ /// <param name="namespacesNode">FxCop レポートの Namespaces ノード。</param>
180+ /// <returns>FxCop レポートの Namespaces ノードを基に作成した <see cref="Sasa.QualityTools.DrFx.Explorer.Report.NamespaceWarning"/> オブジェクトのコレクション。</returns>
142181 internal static List<NamespaceWarning> CreateNamespaceWarnings(XmlNode namespacesNode)
143182 {
144183 if (namespacesNode == null)
@@ -267,6 +306,12 @@
267306 return issues;
268307 }
269308
309+ /// <summary>
310+ /// FxCop レポートの Rules ノードを基に、<see cref="Sasa.QualityTools.DrFx.Explorer.Report.FxCopRule"/> オブジェクトの
311+ /// コレクションを作成します。
312+ /// </summary>
313+ /// <param name="rulesNode">FxCop レポートの Rules ノード。</param>
314+ /// <returns>FxCop レポートの Rules ノードを基に作成した <see cref="Sasa.QualityTools.DrFx.Explorer.Report.FxCopRule"/> オブジェクトのコレクション。</returns>
270315 internal static List<FxCopRule> CreateRules(XmlNode rulesNode)
271316 {
272317 if (rulesNode == null)
--- drfx/trunk/src/Explorer/Report/WarningTarget.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/WarningTarget.cs (revision 151)
@@ -27,10 +27,29 @@
2727 /// </summary>
2828 public enum WarningTarget
2929 {
30+ /// <summary>
31+ /// 対象が不明であることを表します。
32+ /// </summary>
3033 Unknown = 0,
34+
35+ /// <summary>
36+ /// アセンブリが対象であることを表します。
37+ /// </summary>
3138 Assembly,
39+
40+ /// <summary>
41+ /// 名前空間が対象であることを表します。
42+ /// </summary>
3243 Namespace,
44+
45+ /// <summary>
46+ /// 型が対象であることを表します。
47+ /// </summary>
3348 Type,
49+
50+ /// <summary>
51+ /// メンバーが対象であることを表します。
52+ /// </summary>
3453 Member
3554 }
3655 }
--- drfx/trunk/src/Explorer/Report/MemberWarning.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/MemberWarning.cs (revision 151)
@@ -25,6 +25,9 @@
2525 {
2626 public class MemberWarning
2727 {
28+ /// <summary>
29+ /// アセンブリに対する違反メッセージのコレクション。
30+ /// </summary>
2831 private Collection<FxCopIssue> issues = new Collection<FxCopIssue>();
2932
3033
@@ -33,6 +36,9 @@
3336
3437 public string Kind { get; internal set; }
3538
39+ /// <summary>
40+ /// アセンブリに対する違反メッセージのコレクション。
41+ /// </summary>
3642 public Collection<FxCopIssue> Issues
3743 {
3844 get
--- drfx/trunk/src/Explorer/Report/NamespaceWarning.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/NamespaceWarning.cs (revision 151)
@@ -28,6 +28,9 @@
2828 {
2929 private Collection<TypeWarning> types = new Collection<TypeWarning>();
3030
31+ /// <summary>
32+ /// アセンブリに対する違反メッセージのコレクション。
33+ /// </summary>
3134 private Collection<FxCopIssue> issues = new Collection<FxCopIssue>();
3235
3336
@@ -42,6 +45,9 @@
4245 }
4346 }
4447
48+ /// <summary>
49+ /// アセンブリに対する違反メッセージのコレクション。
50+ /// </summary>
4551 public Collection<FxCopIssue> Issues
4652 {
4753 get
--- drfx/trunk/src/Explorer/Report/SourceCodeLine.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/SourceCodeLine.cs (revision 151)
@@ -22,12 +22,24 @@
2222
2323 namespace Sasa.QualityTools.DrFx.Explorer.Report
2424 {
25+ /// <summary>
26+ /// ルール違反したソースコード行を表すクラスです。
27+ /// </summary>
2528 public class SourceCodeLine
2629 {
30+ /// <summary>
31+ /// ソースコードの行番号。
32+ /// </summary>
2733 public int LineNumber { get; internal set; }
2834
35+ /// <summary>
36+ /// ソースコード行。
37+ /// </summary>
2938 public string Text { get; internal set; }
3039
40+ /// <summary>
41+ /// ルール違反していると直接レポートされた行かどうか。
42+ /// </summary>
3143 public bool IsViolationLine { get; internal set; }
3244 }
3345 }
--- drfx/trunk/src/Explorer/Report/AssemblyWarning.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/AssemblyWarning.cs (revision 151)
@@ -23,18 +23,36 @@
2323
2424 namespace Sasa.QualityTools.DrFx.Explorer.Report
2525 {
26+ /// <summary>
27+ /// FxCop ルールに違反したアセンブリの情報を表すクラスです。
28+ /// </summary>
2629 public class AssemblyWarning
2730 {
31+ /// <summary>
32+ /// FxCop ルールに違反した名前空間の情報のコレクション。
33+ /// </summary>
2834 private Collection<NamespaceWarning> namespaces = new Collection<NamespaceWarning>();
2935
36+ /// <summary>
37+ /// アセンブリに対する違反メッセージのコレクション。
38+ /// </summary>
3039 private Collection<FxCopIssue> issues = new Collection<FxCopIssue>();
3140
3241
3342
43+ /// <summary>
44+ /// アセンブリのフルパス。
45+ /// </summary>
3446 public string FileName { get; internal set; }
3547
48+ /// <summary>
49+ /// アセンブリのファイル名 (ディレクトリ情報なし)。
50+ /// </summary>
3651 public string BaseName { get; internal set; }
3752
53+ /// <summary>
54+ /// FxCop ルールに違反した名前空間の情報のコレクション。
55+ /// </summary>
3856 public Collection<NamespaceWarning> Namespaces
3957 {
4058 get
@@ -43,6 +61,9 @@
4361 }
4462 }
4563
64+ /// <summary>
65+ /// アセンブリに対する違反メッセージのコレクション。
66+ /// </summary>
4667 public Collection<FxCopIssue> Issues
4768 {
4869 get
--- drfx/trunk/src/Explorer/Report/FxCopRule.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/FxCopRule.cs (revision 151)
@@ -22,14 +22,29 @@
2222
2323 namespace Sasa.QualityTools.DrFx.Explorer.Report
2424 {
25+ /// <summary>
26+ /// FxCop のルールを表すクラスです。
27+ /// </summary>
2528 public class FxCopRule
2629 {
30+ /// <summary>
31+ /// チェック ID。
32+ /// </summary>
2733 public string CheckId { get; internal set; }
2834
35+ /// <summary>
36+ /// ルールのカテゴリ。
37+ /// </summary>
2938 public string Category { get; internal set; }
3039
40+ /// <summary>
41+ /// ルール名。
42+ /// </summary>
3143 public string Name { get; internal set; }
3244
45+ /// <summary>
46+ /// ルールの詳細。
47+ /// </summary>
3348 public string Description { get; internal set; }
3449 }
3550 }
--- drfx/trunk/src/Explorer/Report/TypeWarning.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/TypeWarning.cs (revision 151)
@@ -27,6 +27,9 @@
2727 {
2828 private Collection<MemberWarning> members = new Collection<MemberWarning>();
2929
30+ /// <summary>
31+ /// アセンブリに対する違反メッセージのコレクション。
32+ /// </summary>
3033 private Collection<FxCopIssue> issues = new Collection<FxCopIssue>();
3134
3235
@@ -43,6 +46,9 @@
4346 }
4447 }
4548
49+ /// <summary>
50+ /// アセンブリに対する違反メッセージのコレクション。
51+ /// </summary>
4652 public Collection<FxCopIssue> Issues
4753 {
4854 get
--- drfx/trunk/src/Explorer/Report/FxCopIssue.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/FxCopIssue.cs (revision 151)
@@ -22,22 +22,49 @@
2222
2323 namespace Sasa.QualityTools.DrFx.Explorer.Report
2424 {
25+ /// <summary>
26+ /// FxCop ルールへの違反に関する情報を保持するクラスです。
27+ /// </summary>
2528 public class FxCopIssue
2629 {
30+ /// <summary>
31+ /// 違反したルールを定義しているルールクラス名。
32+ /// </summary>
2733 public string TypeName { get; internal set; }
2834
35+ /// <summary>
36+ /// 違反したルールのカテゴリ。
37+ /// </summary>
2938 public string Category { get; internal set; }
3039
40+ /// <summary>
41+ /// 違反したルールのチェック ID。
42+ /// </summary>
3143 public string CheckId { get; internal set; }
3244
45+ /// <summary>
46+ /// 違反情報のステータス。
47+ /// </summary>
3348 public string Status { get; internal set; }
3449
50+ /// <summary>
51+ /// 違反情報のレベル。
52+ /// </summary>
3553 public string Level { get; internal set; }
3654
55+ /// <summary>
56+ /// ルール違反したソースコードのパス。
57+ /// </summary>
3758 public string FilePath { get; internal set; }
3859
60+ /// <summary>
61+ /// ルール違反したソースコードの行番号。
62+ /// </summary>
3963 public int? Line { get; internal set; }
4064
65+ /// <summary>
66+ /// 違反メッセージ。
67+ /// </summary>
4168 public string Content { get; internal set; }
4269 }
4370 }
--- drfx/trunk/src/Explorer/Report/FxCopIssueRelationship.cs (revision 150)
+++ drfx/trunk/src/Explorer/Report/FxCopIssueRelationship.cs (revision 151)
@@ -22,20 +22,44 @@
2222
2323 namespace Sasa.QualityTools.DrFx.Explorer.Report
2424 {
25+ /// <summary>
26+ /// ルール違反情報と、ルール違反対象や違反したルールの詳細情報をリンクさせるためのクラスです。
27+ /// </summary>
2528 public class FxCopIssueRelationship
2629 {
30+ /// <summary>
31+ /// ルール違反情報。
32+ /// </summary>
33+ public FxCopIssue Issue { get; set; }
34+
35+ /// <summary>
36+ /// ルール違反対象のアセンブリの情報。もしくはルール違反対象のメンバーが属しているのアセンブリの情報。
37+ /// </summary>
2738 public AssemblyWarning Assembly { get; set; }
2839
40+ /// <summary>
41+ /// ルール違反対象の名前空間の情報。もしくはルール違反対象のメンバーが属しているの名前空間の情報。
42+ /// </summary>
2943 public NamespaceWarning Namespace { get; set; }
3044
45+ /// <summary>
46+ /// ルール違反対象の型の情報。もしくはルール違反対象のメンバーが属しているの型の情報。
47+ /// </summary>
3148 public TypeWarning Type { get; set; }
3249
50+ /// <summary>
51+ /// ルール違反対象のメンバーの情報。
52+ /// </summary>
3353 public MemberWarning Member { get; set; }
3454
35- public FxCopIssue Issue { get; set; }
36-
55+ /// <summary>
56+ /// 違反したルール自体の情報。
57+ /// </summary>
3758 public FxCopRule Rule { get; set; }
3859
60+ /// <summary>
61+ /// ルール違反対象。
62+ /// </summary>
3963 public WarningTarget Target { get; set; }
4064 }
4165 }
--- drfx/trunk/src/Explorer/ExecutionContext.xaml.cs (revision 150)
+++ drfx/trunk/src/Explorer/ExecutionContext.xaml.cs (revision 151)
@@ -23,6 +23,9 @@
2323
2424 namespace Sasa.QualityTools.DrFx.Explorer
2525 {
26+ /// <summary>
27+ /// アプリケーションの実行コンテキストを表すクラスです。
28+ /// </summary>
2629 public partial class ExecutionContext : Application
2730 {
2831 }
Show on old repository browser