Skip to content

Commit 75bba73

Browse files
authored
Merge pull request #629 from iceljc/master
remove duplicate
2 parents 0d999a9 + 2faed9f commit 75bba73

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

src/Infrastructure/BotSharp.Abstraction/Models/KeyValue.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,9 @@ public class KeyValue
77

88
[JsonPropertyName("value")]
99
public string Value { get; set; }
10+
11+
public override string ToString()
12+
{
13+
return $"Key: {Key}, Value: {Value}";
14+
}
1015
}

src/Infrastructure/BotSharp.Abstraction/Repositories/Filters/ConversationFilter.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,4 @@ public class ConversationFilter
2323
/// Check whether each key in the list is in the conversation states and its value equals to target value if not empty
2424
/// </summary>
2525
public IEnumerable<KeyValue> States { get; set; } = new List<KeyValue>();
26-
}
27-
28-
public class KeyValue
29-
{
30-
public string Key { get; set; }
31-
public string? Value { get; set; }
32-
33-
public override string ToString()
34-
{
35-
return $"Key: {Key}, Value: {Value}";
36-
}
3726
}

0 commit comments

Comments
 (0)