Exemplo n.º 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);
        }
Exemplo n.º 2
0
        protected void RaisePropertyChanged <T>(Expression <Func <T> > propertyExpression)
        {
            var propertyName = PropertySupport.ExtractPropertyName(propertyExpression);

            RaisePropertyChanged(propertyName);
        }