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