Пример #1
0
 private IndexerListener(IRaisePropertyPathStepChanged pathStep, object source, string index, bool intIndexer, PropertyInfo propertyInfo, bool listenToChanges)
     : base(pathStep, listenToChanges)
 {
     this.propertyInfo = propertyInfo;
     this.source = source;
     this.index = index;
     this.intIndexer = intIndexer;
     this.ConnectToProperty();
 }
Пример #2
0
 private IndexerListener(IRaisePropertyPathStepChanged pathStep, object source, string index, bool intIndexer, PropertyInfo propertyInfo, bool listenToChanges)
     : base(pathStep, listenToChanges)
 {
     this.propertyInfo = propertyInfo;
     this.source       = source;
     this.index        = index;
     this.intIndexer   = intIndexer;
     this.ConnectToProperty();
 }
Пример #3
0
        internal static CLRPropertyListener CreateListener(IRaisePropertyPathStepChanged pathStep, string name, object source, bool listenToChanges)
        {
            PropertyInfo property = CLRPropertyListener.GetProperty(source.GetType(), name);

            if (property == null)
            {
                return(null);
            }
            return(new CLRPropertyListener(pathStep, source.GetType(), property, listenToChanges));
        }
Пример #4
0
 internal static IndexerListener CreateListener(IRaisePropertyPathStepChanged pathStep, object source, string index, bool intIndexer, PropertyInfo propertyInfo, bool listenToChanges)
 {
     return new IndexerListener(pathStep, source, index, intIndexer, propertyInfo, listenToChanges);
 }
 internal PropertyListener(IRaisePropertyPathStepChanged pathStep, bool listenToChanges)
 {
     this.PathStep        = pathStep;
     this.listenToChanges = listenToChanges;
 }
 internal DependencyPropertyListener(IRaisePropertyPathStepChanged pathStep, Type sourceType, DependencyProperty dp, bool listenToChanges)
     : base(pathStep, listenToChanges)
 {
     this.property   = dp;
     this.sourceType = sourceType;
 }
Пример #7
0
 internal PropertyListener(IRaisePropertyPathStepChanged pathStep, bool listenToChanges)
 {
     this.PathStep = pathStep;
     this.listenToChanges = listenToChanges;
 }
Пример #8
0
 internal CLRPropertyListener(IRaisePropertyPathStepChanged pathStep, Type sourceType, PropertyInfo property, bool listenToChanges)
     : base(pathStep, listenToChanges)
 {
     this.sourceType   = sourceType;
     this.propertyInfo = property;
 }
 internal DependencyPropertyListener(IRaisePropertyPathStepChanged pathStep, Type sourceType, DependencyProperty dp, bool listenToChanges)
     : base(pathStep, listenToChanges)
 {
     this.property = dp;
     this.sourceType = sourceType;
 }
Пример #10
0
 internal static IndexerListener CreateListener(IRaisePropertyPathStepChanged pathStep, object source, string index, bool intIndexer, PropertyInfo propertyInfo, bool listenToChanges)
 {
     return(new IndexerListener(pathStep, source, index, intIndexer, propertyInfo, listenToChanges));
 }