public ViewModelXamlMember(string propertyName, ViewModelXamlType <T> targetType, IXamlType propertyType) { _propertyName = propertyName; _targetType = targetType; _propertyType = propertyType; }
public void RegisterViewModelType <T>(IXamlType baseType = null) where T : ViewModelBase, new () { IXamlType xamlType = new ViewModelXamlType <T>(baseType); AddType(typeof(T), xamlType); }