예제 #1
0
 public ViewModelXamlMember(string propertyName, ViewModelXamlType <T> targetType, IXamlType propertyType)
 {
     _propertyName = propertyName;
     _targetType   = targetType;
     _propertyType = propertyType;
 }
예제 #2
0
        public void RegisterViewModelType <T>(IXamlType baseType = null) where T : ViewModelBase, new ()
        {
            IXamlType xamlType = new ViewModelXamlType <T>(baseType);

            AddType(typeof(T), xamlType);
        }