diff --git a/src/Infrastructure/BotSharp.Abstraction/Models/KeyValue.cs b/src/Infrastructure/BotSharp.Abstraction/Models/KeyValue.cs index f981ba6e9..812864893 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Models/KeyValue.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Models/KeyValue.cs @@ -7,4 +7,9 @@ public class KeyValue [JsonPropertyName("value")] public string Value { get; set; } + + public override string ToString() + { + return $"Key: {Key}, Value: {Value}"; + } } diff --git a/src/Infrastructure/BotSharp.Abstraction/Repositories/Filters/ConversationFilter.cs b/src/Infrastructure/BotSharp.Abstraction/Repositories/Filters/ConversationFilter.cs index 48a19fa60..12864ac3d 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Repositories/Filters/ConversationFilter.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Repositories/Filters/ConversationFilter.cs @@ -23,15 +23,4 @@ public class ConversationFilter /// Check whether each key in the list is in the conversation states and its value equals to target value if not empty /// public IEnumerable States { get; set; } = new List(); -} - -public class KeyValue -{ - public string Key { get; set; } - public string? Value { get; set; } - - public override string ToString() - { - return $"Key: {Key}, Value: {Value}"; - } } \ No newline at end of file