示例#1
0
        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)]);
        }
示例#2
0
 protected DP GetDependencyProperty <DP>(IDependencyPropertyInfo <DP> propertyInfo)
 {
     return(DependencyManager.GetPropertyValue(propertyInfo));
 }