public override void CompileTimeInitialize( Type type, AspectInfo aspectInfo ) { this.explicitDependencyMap = analyzer.Value.AnalyzeType( type ); this.fieldValueComparer = new FieldValueComparer( type ); this.childPropertyChangedProcessor = ChildPropertyChangedProcessor.CompileTimeCreate( type, analyzer.Value.MethodFieldDependencies, this.fieldValueComparer, this.explicitDependencyMap ); }
private ChildPropertyChangedProcessor(ChildPropertyChangedProcessor prototype, object instance) { this.instance = instance; this.fieldValueComparer = prototype.fieldValueComparer; this.explicitDependencyMap = prototype.explicitDependencyMap; this.propertyToFieldBindings = PropertyFieldBindingsMap.CreateFromPrototype(prototype.propertyToFieldBindings); this.notifyChildPropertyChangedHandlers = new Dictionary <string, NotifyChildPropertyChangedEventHandlerDescriptor>(); }
private ChildPropertyChangedProcessor( ChildPropertyChangedProcessor prototype, object instance ) { this.instance = instance; this.fieldValueComparer = prototype.fieldValueComparer; this.explicitDependencyMap = prototype.explicitDependencyMap; this.propertyToFieldBindings = PropertyFieldBindingsMap.CreateFromPrototype( prototype.propertyToFieldBindings ); this.notifyChildPropertyChangedHandlers = new Dictionary<string, NotifyChildPropertyChangedEventHandlerDescriptor>(); }
public static ChildPropertyChangedProcessor CreateFromPrototype(ChildPropertyChangedProcessor prototype, object instance) { return(new ChildPropertyChangedProcessor(prototype, instance)); }
public static ChildPropertyChangedProcessor CreateFromPrototype( ChildPropertyChangedProcessor prototype, object instance ) { return new ChildPropertyChangedProcessor( prototype, instance ); }