コード例 #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));
 }
コード例 #4
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);
 }
コード例 #5
0
 /// <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);
 }