private void Initialize() { var observedProperties = ObservableProperty.GetObservedProperties(); var observedCollections = ObservableProperty.GetObservedCollections(); foreach (var observedProperty in observedProperties) { IObservableProperty observableProperty = observedProperty.Value; runtimeProxies[observedProperty.Key] = (IRuntimeProxy)RuntimeProxyManagerHelper.CreateRuntimeManager(observableProperty, null, IsReadOnly).Implementation; } foreach (var observedCollection in observedCollections) { collectionProxies[observedCollection.Key] = CollectionProxy.Create( observedCollection.Value, proxyWrapper, proxyFactory, observableFactory); } }
public IPropertyProxy Create(IObservableProperty observableProperty, MethodInterceptions interceptions, bool readOnly = false) { return(RuntimeProxyManagerHelper.CreateRuntimeManager(observableProperty, interceptions, readOnly)); }
public IPropertyProxy Create(IObservableProperty observableProperty, bool readOnly = false) { return(RuntimeProxyManagerHelper.CreateRuntimeManager(observableProperty, null, readOnly)); }