예제 #1
0
 public DependencyBinding(DependencyBinding other, bool isReadOnly = false)
     : this(
         dependencyId: other.EnsureNotNull(nameof(other)).Value.DependencyId,
         target : other.Target,
         isReadOnly : isReadOnly)
 {
 }
예제 #2
0
 protected virtual void CreateReadOnlyCopy(out DependencyBinding readOnlyCopy)
 => readOnlyCopy = new DependencyBinding(other: this, isReadOnly: true);