public DP GetPropertyValue <DP>(IDependencyPropertyInfo <DP> propertyInfo) { if (!dependencies.ContainsKey(typeof(DP))) { dependencies.Add(typeof(DP), scope.Resolve(typeof(DP))); } return((DP)dependencies[typeof(DP)]); }
protected DP GetDependencyProperty <DP>(IDependencyPropertyInfo <DP> propertyInfo) { return(DependencyManager.GetPropertyValue(propertyInfo)); }