예제 #1
0
        internal RevisionTracker <T> WithProperty <TReturn>(Expression <Func <T, TReturn> > expression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(expression);

            _revisions.Add(propertyName, new Stack <object>());
            TakeSnapshot(propertyName);
            return(this);
        }
예제 #2
0
        protected void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            RaisePropertyChanged(propertyName);
        }