Class Config
Represents a configuration in RuriLib.
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
Assembly: RuriLib.dll
Syntax
public class Config : ViewModelBase, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceConfig(ConfigSettings, String)
Creates a Config given the settings and the script.
Declaration
public Config(ConfigSettings settings, string script)
Parameters
Type | Name | Description |
---|---|---|
ConfigSettings | settings | The settings of the Config |
System.String | script | The LoliScript script of the Config |
Properties
| Improve this Doc View SourceAllowedWordlists
The joined representation of the allowed WordlistTypes.
Declaration
public string AllowedWordlists { get; }
Property Value
Type | Description |
---|---|
System.String |
BlocksAmount
The amount of blocks of the Config.
Declaration
public int BlocksAmount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CaptchasNeeded
Whether captcha solving blocks are present in the Config.
Declaration
public bool CaptchasNeeded { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
DangerousScriptPresent
Whether a possibly dangerous JavaScript or IronPython script is present in the Config.
Declaration
public bool DangerousScriptPresent { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasCFBypass
Whether bypasscf blocks are present in the Config.
Declaration
public bool HasCFBypass { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastModifiedString
The pretty representation of the time when the Config was last modified.
Declaration
public string LastModifiedString { get; }
Property Value
Type | Description |
---|---|
System.String |
Script
The LoliScript script of the Config.
Declaration
public string Script { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SeleniumPresent
Whether Selenium is being used in any of the blocks of the Config.
Declaration
public bool SeleniumPresent { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Settings
The settings of the Config.
Declaration
public ConfigSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
ConfigSettings |
Implements
System.ComponentModel.INotifyPropertyChanged