Class DataPool
The pool where data lines are taken from.
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.Models
Assembly: RuriLib.dll
Syntax
public class DataPool : ViewModelBase, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceDataPool(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 |
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 |
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 SourceList
The IEnumerable of all available data lines.
Declaration
public IEnumerable<string> List { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Size
The total number of lines.
Declaration
public int Size { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Implements
System.ComponentModel.INotifyPropertyChanged