Class RunnerBotViewModel
Bot class. Includes a Worker that is used to perform checks on input data in the Runner.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RuriLib.Runner
Assembly: RuriLib.dll
Syntax
public class RunnerBotViewModel : ViewModelBase, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceRunnerBotViewModel(Int32)
Creates an instance of a bot given an id.
Declaration
public RunnerBotViewModel(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The unique id that will be assigned to the bot. |
Properties
| Improve this Doc View SourceData
The data that needs to be checked.
Declaration
public string Data { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Driver
The Selenium WebDriver.
Declaration
public RemoteWebDriver Driver { get; set; }
Property Value
Type | Description |
---|---|
OpenQA.Selenium.Remote.RemoteWebDriver |
Id
The unique id of the bot (usually between 1 and the total amount of Bots).
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsDriverOpen
Whether the Selenium WebDriver is open or not.
Declaration
public bool IsDriverOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Proxy
The proxy that the Worker is using to perform requests.
Declaration
public string Proxy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
The status of the bot.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Worker
The Worker that performs the checks.
Declaration
public AbortableBackgroundWorker Worker { get; set; }
Property Value
Type | Description |
---|---|
AbortableBackgroundWorker |
Implements
System.ComponentModel.INotifyPropertyChanged