コード例 #1
0
        internal override void SetReference(string sourceProperty)
        {
            PropertyReferenceChange change = new PropertyReferenceChange()
            {
                Owner             = this.Parent,
                TargetProperty    = this.Name,
                OldSourceProperty = this.Reference,
                NewSourceProperty = sourceProperty
            };

            ((IModelTreeItem)parent).ModelTreeManager.AddToCurrentEditingScope(change);
        }
コード例 #2
0
        internal override void SetReference(string sourceProperty)
        {
            PropertyReferenceChange change = new PropertyReferenceChange()
            {
                Owner = this.Parent,
                TargetProperty = this.Name,
                OldSourceProperty = this.Reference,
                NewSourceProperty = sourceProperty
            };

            ((IModelTreeItem)parent).ModelTreeManager.AddToCurrentEditingScope(change);
        }