Пример #1
0
        public void OnEnabled(string key)
        {
            PatchApplication destinationPatches = _destinations[key];

            destinationPatches.Enabled = true;
            destinationPatches.CheckApplied();
            UpdateStatus();
        }
Пример #2
0
 public void OnAdded(string key, PatchApplication destinationPatches)
 {
     destinationPatches.CheckApplied();
     _destinations[key] = destinationPatches;
     UpdateStatus();
 }