File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public sealed class Author(string ipAddress) {
42
42
/// Converts this object into a dictionary.
43
43
/// </summary>
44
44
/// <returns>The dictionary corresponding to this object.</returns>
45
- internal IDictionary < string , string > ToDictionary ( ) {
45
+ internal Dictionary < string , string > ToDictionary ( ) {
46
46
var map = new Dictionary < string , string > { [ "user_ip" ] = IPAddress . ToString ( ) } ;
47
47
if ( ! string . IsNullOrWhiteSpace ( Email ) ) map [ "comment_author_email" ] = Email ;
48
48
if ( ! string . IsNullOrWhiteSpace ( Name ) ) map [ "comment_author" ] = Name ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public sealed class Blog(string url) {
27
27
/// Converts this object into a dictionary.
28
28
/// </summary>
29
29
/// <returns>The dictionary corresponding to this object.</returns>
30
- internal IDictionary < string , string > ToDictionary ( ) {
30
+ internal Dictionary < string , string > ToDictionary ( ) {
31
31
var map = new Dictionary < string , string > { [ "blog" ] = Url . ToString ( ) } ;
32
32
if ( Charset is not null ) map [ "blog_charset" ] = Charset . WebName ;
33
33
if ( Languages . Count != 0 ) map [ "blog_lang" ] = string . Join ( ',' , Languages ) ;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public sealed class Comment(Author author) {
55
55
/// Converts this object into a dictionary.
56
56
/// </summary>
57
57
/// <returns>The dictionary corresponding to this object.</returns>
58
- internal IDictionary < string , string > ToDictionary ( ) {
58
+ internal Dictionary < string , string > ToDictionary ( ) {
59
59
var map = Author . ToDictionary ( ) ;
60
60
if ( ! string . IsNullOrWhiteSpace ( Content ) ) map [ "comment_content" ] = Content ;
61
61
// TODO if (Context.Count > 0) map["comment_context"] = string.Join(',', Context);
You can’t perform that action at this time.
0 commit comments