Show / Hide Table of Contents

Class DataPool

The pool where data lines are taken from.

Inheritance
System.Object
ViewModelBase
DataPool
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 DataPool : ViewModelBase, INotifyPropertyChanged

Constructors

| Improve this Doc View Source

DataPool(IEnumerable<String>)

Creates a DataPool given an IEnumerable and counts the amount of lines.

Declaration
public DataPool(IEnumerable<string> list)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> list

The IEnumerable to pick lines from

| Improve this Doc View Source

DataPool(String)

Creates a DataPool by loading lines from a file.

Declaration
public DataPool(string fileName)
Parameters
Type Name Description
System.String fileName

The name of the file to load data lines from

| Improve this Doc View Source

DataPool(String, Int32)

Creates a DataPool by generating all the possible combinations of a string.

Declaration
public DataPool(string charSet, int length)
Parameters
Type Name Description
System.String charSet

The allowed character set (one after the other like in the string "abcdef")

System.Int32 length

The length of the output combinations

Properties

| Improve this Doc View Source

List

The IEnumerable of all available data lines.

Declaration
public IEnumerable<string> List { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>
| Improve this Doc View Source

Size

The total number of lines.

Declaration
public int Size { get; set; }
Property Value
Type Description
System.Int32

Implements

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