Skip to content

pediRAM/Revertible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IRAN IS BLEEDING --- AND THE WORLD IS SILENT

BEGIN OF UPDATE: 2026-01-18 LAST UPDATEL: 2026-02-18

Massacre in IRAN

The Media is Silent!

BBC and CNN use the narative and political framing of the criminal Islamist Djihadist Mullah Regime of Iran

20 Mil. USD have been paid to influencers and PR companies in western countries to relativate, deny, negate and downsize the Crimes of Islamist Djihadist Republic of Iran

The western Democracies are infiltraded by hundreds of NGOs and Consulting Institutions of Islamist Criminal Republic of Iran

The Slaughterer and Tyranny Regime of Mullahs is Slaughtering their protesting Nation and the Media was and is silent for a very long time!

This Regime has killed at least 12000+ 40000+ protestors in 48 hours (8th - 9th Jan. 2026), after turning off the internet, Mobile-net, telephone-net and even electricity and they started to disturb the satellite frequencies by military jammers from china, to also turn off the internet connection through Starlink!

But some brave people which traveled to abroud smuggled a lot of images and videos, but also figures/statistics collected by brave doctors in Iran. The figures/numbers currently after three six weeks of protesting are:

  • Death toll: 60000+ 94000+ since 2026-01-18 until today 21th Feb. 2026 (secret services estimate numbers over 100000!)
  • Blined: 8000+ 10000+
  • Wounded: 350000+
  • Detained: 130000+ (which is decreasing due to daily silent mass executions)

When the family of killed protestors try to get the dead body, they have to pay the "bullet-price" of 5000 to 7000 USD for each Bullet! An average worker earns about 100 to 200 USD per month!

The bodies of those whose relatives cannot afford the bullet-price are buried in mass graves without names or any other identifying information or markings at unknown locations.

Car and ferniture are also confiscated.

Scared from Final Shot of Regime-Thugs, many wounded people are scared to go to hospitals or doctors, so they lie at home and die slowly due to Infections or Internal Bleedings.

Now(2026-01-18), after 120+ hours of internet-shuttdown, they turn it for some time on to transfere their BitCoins to wallets out of iran! Netblocks.org Iran

The regime thugs invaded into hospitals by force and killed wounded people by final shot.

The Doctors and Nurses, resisted against the regime thugs, have also been killed or detained with death sentence!

END OF UPDATE.

State Diagram

License Release NuGet

This is the english documentation. Following translations are available:

Revertible

Facilitates defining classes with Revertible Properties.

Features

  • [Revertible] Attribute: Marks properties in a class as revertible.
  • SaveRevertibleProperties(): Saves the current values of revertible properties.
  • RevertRevertibleProperties(): Reverts revertible properties to their saved values (if any).
  • HasModifiedRevertibleProperties (Boolean): Indicates if any revertible property's value has been changed.

Use Case

Ideal for scenarios where you need to simply revert all changed values, like user-modified settings, without saving the changes to the model or file.

How It Works

State Diagram / Timeline

After instantiating a type that extends BaseRevertible and includes properties annotated with [Revertible], you can save the current state of the revertible properties to revert them later if needed.

As shown in the diagram below, at state 5, when the revert method is invoked, the values are reverted/set back to the previously saved values at state 3 (t2 == t1).

Note: Properties without the [Revertible] annotation are always ignored.

State Diagram

UML Class Diagram

To make your class revertible, simply extend BaseRevertible and annotate the properties you want to be revertible with the [Revertible] attribute:

UML Class Diagram

Example Code

Here's a simple example of making a class revertible:

using Revertible;

// Assigning [Revertible] to the class is optional,
// unless you need to access IRevertible methods outside the class.
[Revertible]
public class RevertibleClass : BaseRevertible
{
    // Just assign [Revertible] to the properties you want to save and revert.
    [Revertible]
    public bool Enabled { get; set; }

    [Revertible]
    public int ID { get; set; }

    [Revertible]
    public string Name { get; set; }

    [Revertible]
    public object SomeObject { get; set; }

    // Properties without [Revertible] are ignored
    public double NonRevertibleDoubleProperty { get; set; }
    public char NonRevertibleCharProperty { get; set; }
}

/*** Save and Revert values ***/
// 
private RevertibleClass _revertibleField = new RevertibleClass();

private void SomeMethod()
{
    _revertibleField.Enabled = true;
    _revertibleField.Name = "John Doe";

    // Save current state of revertible properties:
    _revertibleField.SaveRevertibleProperties();

    // Some other code...
    _revertibleField.Enabled = false;
    _revertibleField.Name = "Something else!";

    // Revert values of revertible properties:
    _revertibleField.RevertRevertibleProperties();
    // Now: Enabled == true and Name == "John Doe".
}

About

Provides types and attributes for defining classes with revertible properties

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages