Пример #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="FieldBindingBaseAttribute" />
 ///     with a path to the binding source.
 /// </summary>
 protected FieldBindingBaseAttribute(string path)
 {
     Binding = new BindingInfo(path);
 }
Пример #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="FieldBindingBaseAttribute" />.
 /// </summary>
 protected FieldBindingBaseAttribute()
 {
     Binding = new BindingInfo();
 }
Пример #3
0
 protected bool Equals(BindingInfo other)
 {
     return(string.Equals(Path, other.Path) && BindingMode == other.BindingMode && AncestorLevel == other.AncestorLevel &&
            AncestorType == other.AncestorType && ConverterType == other.ConverterType && RelativeSourceMode == other.RelativeSourceMode &&
            Equals(ConverterParameter, other.ConverterParameter));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FieldBindingBaseAttribute"/> 
 /// with a path to the binding source.
 /// </summary>
 protected FieldBindingBaseAttribute(string path)
 {
     Binding = new BindingInfo(path);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FieldBindingBaseAttribute"/>.
 /// </summary>
 protected FieldBindingBaseAttribute()
 {
     Binding = new BindingInfo();
 }
Пример #6
0
 protected bool Equals(BindingInfo other)
 {
     return string.Equals(Path, other.Path) && BindingMode == other.BindingMode && AncestorLevel == other.AncestorLevel &&
            AncestorType == other.AncestorType && ConverterType == other.ConverterType && RelativeSourceMode == other.RelativeSourceMode &&
            Equals(ConverterParameter, other.ConverterParameter);
 }