示例#1
0
        private string formatValue(SnapshotValue value)
        {
            object entity = updated?.Snapshot?.Entity;

            return(value.HasValue() ? configuration.Formatter(entity, value.GetValue <TProp>()) : null);
        }
示例#2
0
 public PropertyChange(PropertyConfiguration <TProp> configuration, SnapshotValue original, SnapshotValue updated)
 {
     this.configuration = configuration;
     this.original      = original;
     this.updated       = updated;
 }