question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Are you aware of this interface? Would be nice if you make the IsChanged property work along with it.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tom-englertcommented, Jul 5, 2017

@weitzhandler: doesn’t this work already?

[AddINotifyPropertyChangedInterface]
class Test : IChangeTracking
{
    public void AcceptChanges()
    {
        IsChanged = false;
    }

    public bool IsChanged
    {
        get;
        set;
    }
}
0reactions
weitzhandlercommented, Sep 25, 2017

Unfortunately I don’t speak IL, and currently don’t have the time to get into it. I’m gonna close this issue for now. If it bothers anyone, I’ll open up on demand / comments etc.

Thank you @SimonCropp for everything!

Read more comments on GitHub >

github_iconTop Results From Across the Web

IChangeTracking Interface (System.ComponentModel)
Defines the mechanism for querying the object for changes and resetting of the changed status. public interface class IChangeTracking.
Read more >
IRevertibleChangeTracking Interface
The IRevertibleChangeTracking extends IChangeTracking by adding support for rolling back the changes. Properties. IsChanged. Gets the object's changed status. ( ...
Read more >
c# mvvm IEqualityComparer with IChangeTracking
Here is an alternative: In your models create an IsDirty property, which will be set to true if the Name, or Surname properties...
Read more >
gotdotnetdeveloper/TrackableEntity: base class Entity ...
base class Entity where implement System.ComponentModel.IChangeTracking, IRevertibleChangeTracking, INotifyPropertyChanged, INotifyPropertyChanging.
Read more >
Mediachase.BusinessFoundation.Data.IChangeTracking
Interface IChangeTracking. Defines the mechanism for querying the object for changes and resetting of the changed status.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found