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(); }
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)); }
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; }
internal CLRPropertyListener(IRaisePropertyPathStepChanged pathStep, Type sourceType, PropertyInfo property, bool listenToChanges) : base(pathStep, listenToChanges) { this.sourceType = sourceType; this.propertyInfo = property; }
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)); }