-
class
DictionaryFile-
Acts as a controller for a File-synchronized
Dictionary<String, String>
object. -
Useful for easily persisting
String
pairs in a locally-stored binary file format. -
When assigning a new value, the binary file (on disk) will not contain the value automatically.
Call
Save
in order to synchronize new keys/value inside the binary. However, if you were to try toGet
an unsynchronized key, this controller object will search it's internalDictionary
for the key, and return it (even if the binary does not yet contain it). Furthermore, if the key does not exist, theGet
call will return aString.Empty
.To clarify, if the binary contains a key that is not synchronized, calling
Get
will notLoad
the binary and return the already-saved key; instead, it will returnString.Empty
, because the binary has not yet been instructed to synchronize (withLoad
). -
static explicit operator
this
(Dictionary<String, String>
pairs) -
static explicit operator
this
(String[]
pairs) -
static implicit operator
Dictionary<String, String>
(this
df) -
static implicit operator
String[]
(this
df) -
constructor
this(String
path =Guid.NewGuid().ToString()
) -
String
this[String
key] -
String
Get(String
key) -
void
Remove(String
key) -
Boolean
IsKey(String
key) -
Boolean
IsValue(String
value) -
void
Set(String
key, [String
value =String.Empty
]) -
void
Load() -
void
Clear() -
void
Save()
-
-
static class
Secure-
class
Authenticator-
Salt
salt {get
,set
} -
void
Hash(String
data) -
void
Persist(DictionaryFile
into) -
void
Register(String
key) -
Boolean
IsRegistered(String
key)
-
-
class
Salt-
String
Hash(String
data)
-
-
-
static class
Meta-
String
Author, Email, Codename -
ConsoleColor
ColorCode -
String
Serialize(Array
target, [String
seperator,Boolean
showIndexes])
-
-
Notifications
You must be signed in to change notification settings - Fork 0
General purpose computing library, written in and for Visual C#.
License
MTadder/MTLib-VisualCSharp
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
General purpose computing library, written in and for Visual C#.