Beispiel #1
0
 public ConstantValueEntry(
     StyledPropertyBase <T> property,
     Optional <T> value,
     BindingPriority priority,
     ValueOwner <T> sink)
 {
     Property = property;
     _value   = value;
     Priority = priority;
     _sink    = sink;
 }
Beispiel #2
0
 public BindingEntry(
     AvaloniaObject owner,
     StyledPropertyBase <T> property,
     IObservable <BindingValue <T> > source,
     BindingPriority priority,
     ValueOwner <T> sink)
 {
     _owner   = owner;
     Property = property;
     Source   = source;
     Priority = priority;
     _sink    = sink;
 }
Beispiel #3
0
 public void Reparent(PriorityValue <T> parent) => _sink = new(parent);
Beispiel #4
0
 public void Reparent(PriorityValue <T> sink) => _sink = new(sink);