2024-04-08 15:09:08 +00:00
|
|
|
using BotSharp.Abstraction.Browsing.Enums;
|
|
|
|
|
|
2024-03-08 13:19:13 +00:00
|
|
|
namespace BotSharp.Abstraction.Browsing.Models;
|
|
|
|
|
|
|
|
|
|
public class ElementActionArgs
|
|
|
|
|
{
|
2024-04-08 15:09:08 +00:00
|
|
|
private BroswerActionEnum _action;
|
|
|
|
|
public BroswerActionEnum Action => _action;
|
|
|
|
|
|
|
|
|
|
private string _content;
|
|
|
|
|
public string Content => _content;
|
|
|
|
|
|
|
|
|
|
public ElementActionArgs(BroswerActionEnum action)
|
|
|
|
|
{
|
|
|
|
|
_action = action;
|
|
|
|
|
}
|
2024-03-08 13:19:13 +00:00
|
|
|
|
2024-04-08 15:09:08 +00:00
|
|
|
public ElementActionArgs(BroswerActionEnum action, string content)
|
2024-03-08 13:19:13 +00:00
|
|
|
{
|
|
|
|
|
_action = action;
|
2024-04-08 15:09:08 +00:00
|
|
|
_content = content;
|
2024-03-08 13:19:13 +00:00
|
|
|
}
|
|
|
|
|
}
|