예제 #1
0
 public TargetKey(IAnimatable target, DependencyProperty targetProperty)
 {
     this.Target         = target;
     this.TargetProperty = targetProperty;
     this.hashCode       = Target.GetHashCode() ^ TargetProperty.GetHashCode();
 }
 internal PropertyKey(Type attachedType, DependencyProperty prop)
 {
     DependencyProperty = prop;
     AttachedType       = attachedType;
     _hashCode          = AttachedType.GetHashCode() ^ DependencyProperty.GetHashCode();
 }
예제 #3
0
 public override int GetHashCode()
 {
     return(_dependencyProperty.GetHashCode() ^ _componentType.GetHashCode());
 }