Show / Hide Table of Contents

Class DataRule

Represents a rule that the data line must respect in order to be valid for a given Config.

Inheritance
System.Object
ViewModelBase
DataRule
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
ViewModelBase.PropertyChanged
ViewModelBase.OnPropertyChanged(String)
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.Models
Assembly: RuriLib.dll
Syntax
public class DataRule : ViewModelBase, INotifyPropertyChanged

Constructors

| Improve this Doc View Source

DataRule(Int32)

Creates a DataRule given an id.

Declaration
public DataRule(int id)
Parameters
Type Name Description
System.Int32 id

The unique id of the rule

Properties

| Improve this Doc View Source

Id

The id of the rule.

Declaration
public int Id { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

RuleString

The characters to search in the sliced value. Defaults are Lowercase, Uppercase, Digit, Symbol. Custom character sets can be created by concatenating the characters in a single string (e.g. ABCDEF).

Declaration
public string RuleString { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

RuleType

The type of the rule.

Declaration
public RuleType RuleType { get; set; }
Property Value
Type Description
RuleType
| Improve this Doc View Source

SliceName

The name of the specific slice (defined in the WordlistType) this rule refers to.

Declaration
public string SliceName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

StringInitialized

Whether the right-hand term has been initialized. Used in the View.

Declaration
[JsonIgnore]
public bool StringInitialized { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

TypeInitialized

Whether the type has been initialized. Used in the View.

Declaration
[JsonIgnore]
public bool TypeInitialized { get; set; }
Property Value
Type Description
System.Boolean

Implements

System.ComponentModel.INotifyPropertyChanged
  • Improve this Doc
  • View Source
Back to top Generated by DocFX