Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Infrastructure/BotSharp.Abstraction/Models/KeyValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ public class KeyValue

[JsonPropertyName("value")]
public string Value { get; set; }

public override string ToString()
{
return $"Key: {Key}, Value: {Value}";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// </summary>
public IEnumerable<KeyValue> States { get; set; } = new List<KeyValue>();
}

public class KeyValue
{
public string Key { get; set; }
public string? Value { get; set; }

public override string ToString()
{
return $"Key: {Key}, Value: {Value}";
}
}