8000 GitHub - TezRomacH/DataKeeper: Helpful model for your small C# projects
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TezRomacH/DataKeeper

Repository files navigation

DataKeeper

DataKeeper is a helpful model for your small C# projects. It will be very convenient if for your work it's enough to save data between threads/forms/windows and use data triggers.

  • Use C# actions to bind remove/update triggers
  • You can also choose when a trigger is called: before or after

Work with the model such as a Dictionary where keys are strings!

Examples!

Data model = Data.Instance;
model.BindUpdateField(
  "some_key",
  () => Console.WriteLine("value on some_key is updated")
);
model.Set("some_key", <
4F22
span class="pl-s1">value: 42); // will set new value and print "value on some_key is updated"
// Set takes an object so you can put any value

More examples and API in wiki.

About

Helpful model for your small C# projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0